1// RUN: %clang_cc1 %s -triple i686-apple-darwin -verify -fsyntax-only -fno-gnu-inline-asm 2 3asm ("INST r1, 0"); // expected-error {{GNU-style inline assembly is disabled}} 4 5void foo() __asm("__foo_func"); // AsmLabel is OK 6int foo1 asm("bar1") = 0; // OK 7 8asm(" "); // Whitespace is OK 9 10void f (void) { 11 long long foo = 0, bar; 12 asm volatile("INST %0, %1" : "=r"(foo) : "r"(bar)); // expected-error {{GNU-style inline assembly is disabled}} 13 asm (""); // Empty is OK 14 return; 15} 16