brintos

brintos / llvm-project-archived public Read only

0
0
Text · 491 B · 2f35e52 Raw
10 lines · c
1// RUN: %clang_cc1 -emit-llvm-only -triple powerpc64-ibm-aix-xcoff -verify %s2// RUN: %clang_cc1 -emit-llvm-only -triple powerpc-ibm-aix-xcoff -verify %s3// This test case exist to test marking the 'a' inline assembly constraint as4// unsupported because powerpc previously marked it as supported.5int foo(int arg){6  asm goto ("bc 12,2,%l[TEST_LABEL]" : : "a"(&&TEST_LABEL) : : TEST_LABEL); //expected-error {{invalid input constraint 'a' in asm}}7  return 0;8TEST_LABEL: return arg + 1;9}10