[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / CodeGen / invalid_global_asm.c
blob5b7e8b43d752d873ef7f492f4b090dca34a7727b
1 // REQUIRES: arm-registered-target
2 // RUN: not %clang_cc1 -emit-obj -triple armv6-unknown-unknown -o %t %s 2>&1 | FileCheck %s
3 #pragma clang diagnostic ignored "-Wmissing-noreturn"
4 __asm__(".Lfoo: movw r2, #:lower16:.Lbar - .Lfoo");
5 // CHECK: <inline asm>:1:8: error: instruction requires: armv6t2