[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / clang / test / Sema / patchable-function-entry-attr.cpp
blob9134c851da588c44af65507f57d404ca6968af91
1 // RUN: %clang_cc1 -triple aarch64 -fsyntax-only -verify=silence %s
2 // RUN: %clang_cc1 -triple aarch64_be -fsyntax-only -verify=silence %s
3 // RUN: %clang_cc1 -triple i386 -fsyntax-only -verify=silence %s
4 // RUN: %clang_cc1 -triple x86_64 -fsyntax-only -verify=silence %s
5 // RUN: %clang_cc1 -triple loongarch32 -fsyntax-only -verify=silence %s
6 // RUN: %clang_cc1 -triple loongarch64 -fsyntax-only -verify=silence %s
7 // RUN: %clang_cc1 -triple riscv32 -fsyntax-only -verify=silence %s
8 // RUN: %clang_cc1 -triple riscv64 -fsyntax-only -verify=silence %s
9 // RUN: %clang_cc1 -triple ppc64le -fsyntax-only -verify %s
11 // silence-no-diagnostics
13 // expected-warning@+1 {{unknown attribute 'patchable_function_entry' ignored}}
14 [[gnu::patchable_function_entry(0)]] void f();