• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // RUN: %clang_cc1 %s -triple armv7-apple-darwin -verify -fsyntax-only
2 
f(void)3 void 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 }
8