1 // RUN: %clang_cc1 %s -verify -Wno-error=invalid-gnu-asm-cast
6 asm("nop" : : "m"((int)(a
))); // expected-warning {{invalid use of a cast in an inline asm context requiring an lvalue}}
8 asm("nop" : "=r"((unsigned)a
)); // expected-warning {{invalid use of a cast in an inline asm context requiring an lvalue}}