diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.pt/const1.C')
-rwxr-xr-x | gcc/testsuite/g++.old-deja/g++.pt/const1.C | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/const1.C b/gcc/testsuite/g++.old-deja/g++.pt/const1.C new file mode 100755 index 0000000..8ac8a51 --- /dev/null +++ b/gcc/testsuite/g++.old-deja/g++.pt/const1.C @@ -0,0 +1,4 @@ +// Build don't link: +template <class T> struct B { static const int i = 3; }; +template <class T> struct A { static const int i = B<T>::i; }; +enum { i = A<int>::i }; |