Erich Keane | 1d1d438 | 2019-01-25 17:27:57 +0000 | [diff] [blame] | 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; |