diff options
author | Chad Rosier <mcrosier@apple.com> | 2012-06-12 20:30:26 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@apple.com> | 2012-06-12 20:30:26 +0000 |
commit | 075608ecfc8cce215dbf57c29622cb6ebc497136 (patch) | |
tree | 062aa10057933ec31b68cce48caa7f24e7a3591b /clang/test/Parser/ms-inline-asm.c | |
parent | 72aea01b6e32a0fd0c53e25a7e841d80eb4040e2 (diff) | |
download | bcm5719-llvm-075608ecfc8cce215dbf57c29622cb6ebc497136.tar.gz bcm5719-llvm-075608ecfc8cce215dbf57c29622cb6ebc497136.zip |
[ms-inline-asm] The __asm keyword is a statement separator, so multiple asm
statements are allowed on the same line.
llvm-svn: 158372
Diffstat (limited to 'clang/test/Parser/ms-inline-asm.c')
-rw-r--r-- | clang/test/Parser/ms-inline-asm.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/test/Parser/ms-inline-asm.c b/clang/test/Parser/ms-inline-asm.c index 3a1efb0984d..1c8c881dec3 100644 --- a/clang/test/Parser/ms-inline-asm.c +++ b/clang/test/Parser/ms-inline-asm.c @@ -27,6 +27,12 @@ int t7() { pop ebx } } +void t8() { + __asm nop __asm nop __asm nop +} +void t9() { + __asm nop __asm nop ; __asm nop +} int t_fail() { // expected-note {{to match this}} __asm __asm { // expected-error 3 {{expected}} expected-note {{to match this}} |