teak-llvm/clang/test/Sema/ms-inline-asm-invalid-arch.c
Chad Rosier 282d675b28 [ms-inline asm] Add an error when trying to compile MS-style inline assembly
for an unsupported architecture.
rdar://13063988

llvm-svn: 173364
2013-01-24 20:24:34 +00:00

6 lines
207 B
C

// RUN: %clang_cc1 %s -triple powerpc64-unknown-linux-gnu -fasm-blocks -verify -fsyntax-only
void f() {
__asm nop // expected-error {{Unsupported architecture 'powerpc64' for MS-style inline assembly}}
}