1 /*
2    Origin: Dodji Seketeli <dodji@redhat.com>
3    { dg-options "-std=c++98 -pedantic" }
4    { dg-do compile }
5  */
6 
7 #include "system-binary-constants-1.h"
8 
9 int
foo(void)10 foo (void)
11 {
12 #if BINARY_INT_CONSTANT_IN_SYSTEM_HEADER /* A binary constant defined
13 					    in system header.  No
14 					    warning.  */
15   return 23;
16 #endif
17   return 0b1101; /* { dg-warning "binary constants are a C..14 feature or GCC extension" } */
18 }
19