diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.jason/template3.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.jason/template3.C | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.jason/template3.C b/gcc/testsuite/g++.old-deja/g++.jason/template3.C deleted file mode 100644 index 1cd65531757..00000000000 --- a/gcc/testsuite/g++.old-deja/g++.jason/template3.C +++ /dev/null @@ -1,14 +0,0 @@ -// PRMS Id: 4679 -// Bug: g++ doesn't re-instantiate templates after definition is seen. - -template <class T> struct A; - -A<int> *a; - -template <class T> struct A { T t; }; - -int main() -{ - if (a) - a->t = 1; // gets bogus error -} |