diff options
Diffstat (limited to 'gcc_arm/testsuite/g++.old-deja/g++.pt/memtemp43.C')
-rwxr-xr-x | gcc_arm/testsuite/g++.old-deja/g++.pt/memtemp43.C | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/gcc_arm/testsuite/g++.old-deja/g++.pt/memtemp43.C b/gcc_arm/testsuite/g++.old-deja/g++.pt/memtemp43.C new file mode 100755 index 0000000..3d8e3ad --- /dev/null +++ b/gcc_arm/testsuite/g++.old-deja/g++.pt/memtemp43.C @@ -0,0 +1,16 @@ +// Build don't run: +// GROUPS passed templates membertemplates +template<class T, int N> +class A +{ +public: + template<class U> + void operator=(A<U, N> const & a) { return; } +}; + +int main() +{ + A<float, 3> a; + A<double, 3> b; + a = b; +} |