projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8309458
)
change to bogus errors
author
Jason Merrill
<jason@gcc.gnu.org>
Mon, 31 Aug 1998 02:25:51 +0000
(22:25 -0400)
committer
Jason Merrill
<jason@gcc.gnu.org>
Mon, 31 Aug 1998 02:25:51 +0000
(22:25 -0400)
From-SVN: r22123
gcc/testsuite/g++.old-deja/g++.brendan/parse4.C
patch
|
blob
|
history
diff --git
a/gcc/testsuite/g++.old-deja/g++.brendan/parse4.C
b/gcc/testsuite/g++.old-deja/g++.brendan/parse4.C
index 03c7d47c982388381872448b959797de379bcf48..d60cefeb3e5dddac0b4707a7502de1377c8c9c2e 100644
(file)
--- a/
gcc/testsuite/g++.old-deja/g++.brendan/parse4.C
+++ b/
gcc/testsuite/g++.old-deja/g++.brendan/parse4.C
@@
-12,7
+12,7
@@
public:
void f() {}
};
-int g() { return 0; } //
ERROR - global decl of g
+int g() { return 0; } //
gets bogus error - referenced below XFAIL *-*-*
main()
{
@@
-20,5
+20,5
@@
main()
B( try1 ).f(); // no syntax error
B b( g() ); // no syntax error
B( ::g() ).f(); // no syntax error
- B( g() ).f(); //
syntax error before `.' // ERROR - parse error
+ B( g() ).f(); //
gets bogus error - treated as decl XFAIL *-*-*
}