1999-02-28 17:59 -0500 Zack Weinberg <zack@rabi.columbia.edu>
* gcc.c-torture/execute/990119-1.c: Renamed to...
* gcc.dg/990119-1.c: this, so it will only be tested once
(it's a preprocessor test, it doesn't need to be run at
multiple optimization levels).
From-SVN: r25506
+1999-02-28 17:59 -0500 Zack Weinberg <zack@rabi.columbia.edu>
+
+ * gcc.c-torture/execute/990119-1.c: Renamed to...
+ * gcc.dg/990119-1.c: this, so it will only be tested once
+ (it's a preprocessor test, it doesn't need to be run at
+ multiple optimization levels).
+
1999-02-27 13:34 -0500 Zack Weinberg <zack@rabi.columbia.edu>
* lib/g++.exp: Don't add incdir=$base_dir/../include to
+++ /dev/null
-/* This checks for two things:
- - an obscure corner case in the standard rules for __LINE__
- - regression of an associated bug in cpplib where the semicolon got lost */
-int i = __LINE__\
-;
-
-int main (void)
-{
- if (i != 4)
- abort();
- else
- return 0;
-}
--- /dev/null
+/* This checks for two things:
+ - an obscure corner case in the standard rules for __LINE__
+ - regression of an associated bug in cpplib where the semicolon got lost */
+/* { dg-do run } */
+
+int i = __LINE__\
+;
+
+int main (void) /* { dg-bogus "parse error" "semicolon eaten" } */
+{
+ if (i != 6)
+ abort();
+ else
+ return 0;
+}