aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.brendan/template28.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.brendan/template28.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.brendan/template28.C14
1 files changed, 1 insertions, 13 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.brendan/template28.C b/gcc/testsuite/g++.old-deja/g++.brendan/template28.C
index 3ae4caf4638..c0c35bdbfa5 100644
--- a/gcc/testsuite/g++.old-deja/g++.brendan/template28.C
+++ b/gcc/testsuite/g++.old-deja/g++.brendan/template28.C
@@ -1,13 +1 @@
-// Build don't link:
-// GROUPS passed templates
-class X {
- const char *fptr;
-public:
- X(const char *ptr) { fptr = ptr; }
- operator const char*() { return fptr; }
-};
-
-main(){
- X x1("1234");
- X x2(x1+1);
-}
+int main(){