blob: 4dd1af17f4626f5ce179ceeb66df245696490bef [file] [log] [blame]
Reid Spencer5f016e22007-07-11 17:01:13 +00001// RUN: clang -fsyntax-only -fno-caret-diagnostics -pedantic %s 2>&1 | grep warning | wc -l | grep 1
2// RUN: clang -parse-ast-check %s
3
4char (((( /* expected-error {{to match this '('}} */
5*X x ] )))); /* expected-error {{expected ')'}} */
6
7; // expected-warning {{ISO C does not allow an extra ';' outside of a function}}