Mercurial > hg > CbC > CbC_llvm
annotate clang/test/Sema/Float16.c @ 150:1d019706d866
LLVM10
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 15:10:13 +0900 |
parents | |
children | 2e18cbf3894f |
rev | line source |
---|---|
150 | 1 // RUN: %clang_cc1 -fsyntax-only -verify -triple x86_64-linux-pc %s |
2 // RUN: %clang_cc1 -fsyntax-only -verify -triple spir-unknown-unknown %s -DHAVE | |
3 // RUN: %clang_cc1 -fsyntax-only -verify -triple armv7a-linux-gnu %s -DHAVE | |
4 // RUN: %clang_cc1 -fsyntax-only -verify -triple aarch64-linux-gnu %s -DHAVE | |
5 | |
6 #ifdef HAVE | |
7 // expected-no-diagnostics | |
8 #else | |
9 // expected-error@+2{{_Float16 is not supported on this target}} | |
10 #endif // HAVE | |
11 _Float16 f; |