[OptTable] Fix typo VALUE => VALUES (NFCI) (#121523)
[llvm-project.git] / clang / test / CodeGen / PowerPC / musttail-indirect.cpp
blobcc506d4f7bc1f1f1785ac069abf485ac921dcef0
1 // RUN: %clang_cc1 %s -triple powerpc64-unknown-linux-gnu -o /dev/null -emit-llvm -verify
2 // RUN: %clang_cc1 %s -triple powerpc-unknown-linux-gnu -o /dev/null -emit-llvm -verify
4 void name(int *params) {
5 auto fn = (void (*)(int *))1;
6 // expected-error@+1 {{'musttail' attribute for this call is impossible because indirect calls cannot be tail called on PPC}}
7 [[clang::musttail]] return fn(params);