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