1f4a2713aSLionel Sambuc // RUN: %clang_cc1 %s -triple armv7-apple-darwin -verify -fsyntax-only 2f4a2713aSLionel Sambuc f(void)3f4a2713aSLionel Sambucvoid f (void) { 4f4a2713aSLionel Sambuc int Val; 5f4a2713aSLionel Sambuc asm volatile ("lw (r1), %0[val]": "=&b"(Val)); // expected-error {{invalid output constraint '=&b' in asm}} 6f4a2713aSLionel Sambuc return; 7f4a2713aSLionel Sambuc } 8*0a6a1f1dSLionel Sambuc test_64bit_r(void)9*0a6a1f1dSLionel Sambucvoid test_64bit_r(void) { 10*0a6a1f1dSLionel Sambuc long long foo = 0, bar = 0; 11*0a6a1f1dSLionel Sambuc asm volatile("INST %0, %1" : "=r"(foo) : "r"(bar)); 12*0a6a1f1dSLionel Sambuc } 13