blob: 3fc0eeb7543ab7275ba9a1b0d2ac69023426a747 [file] [log] [blame]
Eric Christophera0dfca12012-08-16 23:50:41 +00001// RUN: %clang_cc1 %s -triple armv7-apple-darwin -verify -fsyntax-only
2
3void f (void) {
4 int Val;
5 asm volatile ("lw (r1), %0[val]": "=&b"(Val)); // expected-error {{invalid output constraint '=&b' in asm}}
6 return;
7}