Home | History | Annotate | Download | only in Sema
      1 // RUN: %clang_cc1 -triple arm64-apple-macosx10.8.0 -fsyntax-only -verify %s
      2 // expected-no-diagnostics
      3 
      4 unsigned t, r, *p;
      5 
      6 int foo (void) {
      7   __asm__ __volatile__( "stxr   %w[_t], %[_r], [%[_p]]" : [_t] "=&r" (t) : [_p] "p" (p), [_r] "r" (r) : "memory");
      8   return 1;
      9 }
     10