Mercurial > hg > CbC > CbC_llvm
annotate clang/test/Sema/patchable-function-entry-attr.cpp @ 150:1d019706d866
LLVM10
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 15:10:13 +0900 |
parents | |
children | 0572611fdcc8 |
rev | line source |
---|---|
150 | 1 // RUN: %clang_cc1 -triple aarch64 -fsyntax-only -verify=silence %s |
2 // RUN: %clang_cc1 -triple i386 -fsyntax-only -verify=silence %s | |
3 // RUN: %clang_cc1 -triple x86_64 -fsyntax-only -verify=silence %s | |
4 // RUN: %clang_cc1 -triple ppc64le -fsyntax-only -verify %s | |
5 | |
6 // silence-no-diagnostics | |
7 | |
8 // expected-warning@+1 {{unknown attribute 'patchable_function_entry' ignored}} | |
9 [[gnu::patchable_function_entry(0)]] void f(); |