diff options
author | echristo <echristo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-09-11 00:00:31 +0000 |
---|---|---|
committer | echristo <echristo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-09-11 00:00:31 +0000 |
commit | 999f3b22afa63d1a6b4d420f2ab6d1672a6e4fc3 (patch) | |
tree | b1842f804894a71a405ad99e2a9f90ec1db14438 /gcc/testsuite/gcc.dg/20040910-1.c | |
parent | 62bf98ad50c43721cee97c06ce558fcaee7cef93 (diff) | |
download | gcc-999f3b22afa63d1a6b4d420f2ab6d1672a6e4fc3.tar.gz |
2004-09-10 Eric Christopher <echristo@redhat.com>
PR c/16046
* c-parse.in (attribute): Add NULL_TREE for error case
for error recovery.
2004-09-10 Eric Christopher <echristo@redhat.com>
* gcc.dg/20040910-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87330 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.dg/20040910-1.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/20040910-1.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/20040910-1.c b/gcc/testsuite/gcc.dg/20040910-1.c new file mode 100644 index 00000000000..8d27c732f35 --- /dev/null +++ b/gcc/testsuite/gcc.dg/20040910-1.c @@ -0,0 +1,2 @@ +/* Tests error recovery for invalid code. */ +__attribute__((foo) int f (){} /* { dg-error "syntax error before \"int\"" } */ |