diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.pt/memtemp28.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.pt/memtemp28.C | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/memtemp28.C b/gcc/testsuite/g++.old-deja/g++.pt/memtemp28.C deleted file mode 100644 index 37e79c8cfef..00000000000 --- a/gcc/testsuite/g++.old-deja/g++.pt/memtemp28.C +++ /dev/null @@ -1,27 +0,0 @@ -extern "C" void abort(); - -int k; - -template <class X> -struct S -{ - template <class U> - void f(U u) - { ++k; g(u); } - - template <class U> - void g(U u) - { ++k; } - - int c[16]; -}; - -int main() -{ - S<char*> s; - s.f(3); - s.f("adf"); - - if (k != 4) - abort(); -} |