// RUN: %clang_cc1 %s -triple i686-apple-darwin -verify -fsyntax-only -fno-gnu-inline-asm
#if __has_extension(gnu_asm)
#errorExpectedextension'gnu_asm'tobedisabled#endifasm("INST r1, 0");// expected-error {{GNU-style inline assembly is disabled}}
voidfoo(void)__asm("__foo_func");// AsmLabel is OK
int foo1 asm("bar1")=0;// OK
asm("");// Whitespace is OK
voidf(void){longlong foo =0, bar;asmvolatile("INST %0, %1":"=r"(foo):"r"(bar));// expected-error {{GNU-style inline assembly is disabled}}
asm("");// Empty is OK
return;}