diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.pt/repo4.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.pt/repo4.C | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/repo4.C b/gcc/testsuite/g++.old-deja/g++.pt/repo4.C new file mode 100644 index 00000000000..6180acbb57e --- /dev/null +++ b/gcc/testsuite/g++.old-deja/g++.pt/repo4.C @@ -0,0 +1,15 @@ +// Build then link: +// Special g++ Options: -frepo + +template <class T> +struct S { + ~S (); +}; + +template <class T> +S<T>::~S () {} + +int main () +{ + S<int> s; +} |