mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-09 09:32:20 +00:00
5e4c75f4ef
rename -parse-ast-dump to -ast-dump remove -parse-ast, which is redundant with -fsyntax-only llvm-svn: 42852
10 lines
238 B
C
10 lines
238 B
C
/* RUN: clang -fsyntax-only -verify %s
|
|
*/
|
|
int foo() {
|
|
break; /* expected-error {{'break' statement not in loop or switch statement}} */
|
|
}
|
|
|
|
int foo2() {
|
|
continue; /* expected-error {{'continue' statement not in loop statement}} */
|
|
}
|