Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/cpp/trad/pr65238-4.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
/* PR preprocessor/65238 */ /* { dg-do preprocess } */ /* { dg-options "-traditional-cpp" } */ #if __has_attribute( #endif #if __has_attribute(unused #endif #if __has_attribute(unused, unused) #endif #if __has_attribute(__has_attribute(unused)) #endif /* { dg-error "-:unterminated argument list invoking macro .__has_attribute." "" {target "*-*-*"} 5 } */ /* { dg-error "-:#if with no expression" "" {target "*-*-*"} 5 } */ /* { dg-error "-:unterminated argument list invoking macro .__has_attribute." "" {target "*-*-*"} 7 } */ /* { dg-error "-:macro .__has_attribute. passed 2 arguments, but takes just 1" "" {target "*-*-*"} 9 } */ /* { dg-error "-:missing ... in expression" "" {target "*-*-*"} 9 } */ /* { dg-error "-:macro .__has_attribute. requires an identifier" "" {target "*-*-*"} 11 } */