move test to test/ref
This commit is contained in:
@@ -52,7 +52,8 @@ CUSTOMSOURCES = \
|
||||
# list of sources that produce a compiler error. a .cref files containing the
|
||||
# exact error output is required
|
||||
ERRORSOURCES = \
|
||||
custom-reference-error.c
|
||||
custom-reference-error.c \
|
||||
bug1889-missing-identifier.c
|
||||
|
||||
SOURCES := $(filter-out $(CUSTOMSOURCES) $(ERRORSOURCES),$(wildcard *.c))
|
||||
|
||||
|
||||
9
test/ref/bug1889-missing-identifier.c
Normal file
9
test/ref/bug1889-missing-identifier.c
Normal file
@@ -0,0 +1,9 @@
|
||||
/* bug 1889 - endless errors due to failure in recovery from missing identifier */
|
||||
|
||||
int enum { a } x;
|
||||
inline enum { b };
|
||||
|
||||
int main(void)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
3
test/ref/bug1889-missing-identifier.cref
Normal file
3
test/ref/bug1889-missing-identifier.cref
Normal file
@@ -0,0 +1,3 @@
|
||||
bug1889-missing-identifier.c:3: Error: Identifier expected
|
||||
bug1889-missing-identifier.c:4: Error: Identifier expected
|
||||
bug1889-missing-identifier.c:4: Warning: Implicit 'int' is an obsolete feature
|
||||
Reference in New Issue
Block a user