diff options
Diffstat (limited to 'gcc_arm/testsuite/g++.old-deja/g++.pt/ttp49.C')
-rwxr-xr-x | gcc_arm/testsuite/g++.old-deja/g++.pt/ttp49.C | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc_arm/testsuite/g++.old-deja/g++.pt/ttp49.C b/gcc_arm/testsuite/g++.old-deja/g++.pt/ttp49.C new file mode 100755 index 0000000..b0a02d2 --- /dev/null +++ b/gcc_arm/testsuite/g++.old-deja/g++.pt/ttp49.C @@ -0,0 +1,9 @@ +// Build don't link: + +template <int i> class C {}; +template <template <long> class TT> class D {}; + +int main() +{ + D<C> d; // ERROR - args not match +} |