diff options
Diffstat (limited to 'gcc_arm/testsuite/g++.old-deja/g++.pt/t05.C')
-rwxr-xr-x | gcc_arm/testsuite/g++.old-deja/g++.pt/t05.C | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc_arm/testsuite/g++.old-deja/g++.pt/t05.C b/gcc_arm/testsuite/g++.old-deja/g++.pt/t05.C new file mode 100755 index 0000000..5c99f77 --- /dev/null +++ b/gcc_arm/testsuite/g++.old-deja/g++.pt/t05.C @@ -0,0 +1,9 @@ +// Build don't link: + +template <class A> class B { + A a; + public: + B(A&aa); // ERROR - near match + ~B(); +}; // ERROR - candidates +static B<int> b_int (3); // ERROR - no matching function |