gcc/testsuite/g++.dg/cpp0x/constexpr-104472.C
raw| 1 | // PR c++/104472 |
| 2 | // { dg-options "-O2 -frounding-math" } |
| 3 | // { dg-add-options float16 } |
| 4 | // { dg-require-effective-target float16 } |
| 5 | |
| 6 | typedef short __attribute__((__vector_size__ (16))) V; |
| 7 | typedef _Float16 __attribute__((__vector_size__ (16))) F; |
| 8 | |
| 9 | V v = __builtin_convertvector (__builtin_convertvector ((V){5534}, F), V) < 8; |