aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.brendan/crash44.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.brendan/crash44.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.brendan/crash44.C27
1 files changed, 1 insertions, 26 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.brendan/crash44.C b/gcc/testsuite/g++.old-deja/g++.brendan/crash44.C
index dd356190913..b5287f33795 100644
--- a/gcc/testsuite/g++.old-deja/g++.brendan/crash44.C
+++ b/gcc/testsuite/g++.old-deja/g++.brendan/crash44.C
@@ -1,26 +1 @@
-// Build don't link:
-// GROUPS passed old-abort
-template <class T> class bug {
-
-public:
- void Foo(const int = 0);
- void NotRedeclared(const int);
-
-private:
- T TheItem;
-};
-
-template <class T> void bug<T>::NotRedeclared(const int)
-{
-}
-
-template <class T> void bug<T>::Foo(const int)
-{
-}
-
-main()
-{
- bug<char> InstantiatedBug;
-
- return 0;
-}
+int