Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/cpp/pr65238-2.c @ 132:d34655255c78
update gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 10:21:07 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
/* PR preprocessor/65238 */ /* { dg-do preprocess } */ #if __has_attribute( #endif #if __has_attribute(unused #endif #if __has_attribute(unused, unused) #endif #if __has_attribute(__has_attribute(unused)) #endif /* { dg-error "macro .__has_attribute. requires an identifier" "" {target "*-*-*"} 4 } */ /* { dg-error "missing ... after .__has_attribute." "" {target "*-*-*"} 6 } */ /* { dg-error "missing ... after .__has_attribute." "" {target "*-*-*"} 8 } */ /* { dg-error "missing binary operator before token .unused." "" {target "*-*-*"} 8 } */ /* { dg-error "macro .__has_attribute. requires an identifier" "" {target "*-*-*"} 10 } */ /* { dg-error "missing ... in expression" "" {target "*-*-*"} 10 } */