Home | History | Annotate | Download | only in CodeGen
      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
      6