diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.other/array9.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.other/array9.C | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.other/array9.C b/gcc/testsuite/g++.old-deja/g++.other/array9.C new file mode 100644 index 000000000..c2c2d79b9 --- /dev/null +++ b/gcc/testsuite/g++.old-deja/g++.other/array9.C @@ -0,0 +1,6 @@ +// { dg-do assemble } + +template <class T> class A { + T *d; + public: void f() { (T[10])d; } +}; |