brintos

brintos / llvm-project-archived public Read only

0
0
Text · 384 B · fb38452 Raw
11 lines · c
1// RUN: %clang_cc1 %s -triple powerpc64-unknown-linux-gnu -o /dev/null -emit-llvm -verify2// RUN: %clang_cc1 %s -triple powerpc64le-unknown-linux-gnu -o /dev/null -emit-llvm -verify3 4int foo(int x);5 6int bar(int x)7{8  // expected-error@+1 {{'musttail' attribute for this call is impossible because external calls cannot be tail called on PPC}}9  [[clang::musttail]] return foo(x);10}11