summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.jason/lineno3.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.jason/lineno3.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.jason/lineno3.C2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.jason/lineno3.C b/gcc/testsuite/g++.old-deja/g++.jason/lineno3.C
index 997267e7244..8e305606b64 100644
--- a/gcc/testsuite/g++.old-deja/g++.jason/lineno3.C
+++ b/gcc/testsuite/g++.old-deja/g++.jason/lineno3.C
@@ -7,7 +7,7 @@ template <class T> class A
{
public:
# 200 "lineno3.C"
- int foo () { undef1(); } // { dg-error "" "" { target *-*-* } 200 }
+ void foo () { undef1(); } // { dg-error "" "" { target *-*-* } 200 }
// { dg-message "note" "note" { target *-*-* } 200 }
};