[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Sema / aarch64-fixed-global-register.c
blob9b4a422d8c1b2c253851a49f4df33f0066d6657b
1 // RUN: %clang_cc1 -triple aarch64-unknown-none-gnu %s -verify -fsyntax-only
3 register char i1 __asm__ ("x15"); // expected-error {{size of register 'x15' does not match variable size}}
4 register long long l2 __asm__ ("w14"); // expected-error {{size of register 'w14' does not match variable size}}