llvm-project/clang/test/Sema/ms-inline-asm-invalid-arch.c

6 lines
207 B
C
Raw Normal View History

// 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}}
}