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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
150
anatofuz
parents:
diff changeset
1 // RUN: %clang_cc1 -triple aarch64 -fsyntax-only -verify=silence %s
anatofuz
parents:
diff changeset
2 // RUN: %clang_cc1 -triple i386 -fsyntax-only -verify=silence %s
anatofuz
parents:
diff changeset
3 // RUN: %clang_cc1 -triple x86_64 -fsyntax-only -verify=silence %s
anatofuz
parents:
diff changeset
4 // RUN: %clang_cc1 -triple ppc64le -fsyntax-only -verify %s
anatofuz
parents:
diff changeset
5
anatofuz
parents:
diff changeset
6 // silence-no-diagnostics
anatofuz
parents:
diff changeset
7
anatofuz
parents:
diff changeset
8 // expected-warning@+1 {{unknown attribute 'patchable_function_entry' ignored}}
anatofuz
parents:
diff changeset
9 [[gnu::patchable_function_entry(0)]] void f();