Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/c-c++-common/pr84999.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | |
children |
line wrap: on
line source
/* PR c/84999 */ /* { dg-do compile { target { i?86-*-* x86_64-*-* } } } */ /* { dg-options "" } */ typedef __float128 V __attribute__ ((__vector_size__ (2 * sizeof (__float128)))); V a; typeof (a != 0) b; /* { dg-error "could not find an integer type of the same size as" "" { target ia32 } } */ typeof (a == 0) c; /* { dg-error "could not find an integer type of the same size as" "" { target ia32 } } */ typeof (a < 0) d; /* { dg-error "could not find an integer type of the same size as" "" { target ia32 } } */ typeof (a <= 0) e; /* { dg-error "could not find an integer type of the same size as" "" { target ia32 } } */ typeof (a > 0) f; /* { dg-error "could not find an integer type of the same size as" "" { target ia32 } } */ typeof (a >= 0) g; /* { dg-error "could not find an integer type of the same size as" "" { target ia32 } } */