annotate clang/test/Sema/Float16.c @ 150:1d019706d866

LLVM10
author anatofuz
date Thu, 13 Feb 2020 15:10:13 +0900
parents
children 2e18cbf3894f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
150
anatofuz
parents:
diff changeset
1 // RUN: %clang_cc1 -fsyntax-only -verify -triple x86_64-linux-pc %s
anatofuz
parents:
diff changeset
2 // RUN: %clang_cc1 -fsyntax-only -verify -triple spir-unknown-unknown %s -DHAVE
anatofuz
parents:
diff changeset
3 // RUN: %clang_cc1 -fsyntax-only -verify -triple armv7a-linux-gnu %s -DHAVE
anatofuz
parents:
diff changeset
4 // RUN: %clang_cc1 -fsyntax-only -verify -triple aarch64-linux-gnu %s -DHAVE
anatofuz
parents:
diff changeset
5
anatofuz
parents:
diff changeset
6 #ifdef HAVE
anatofuz
parents:
diff changeset
7 // expected-no-diagnostics
anatofuz
parents:
diff changeset
8 #else
anatofuz
parents:
diff changeset
9 // expected-error@+2{{_Float16 is not supported on this target}}
anatofuz
parents:
diff changeset
10 #endif // HAVE
anatofuz
parents:
diff changeset
11 _Float16 f;