PR tree-optimization/33562
[official-gcc.git] / gcc / testsuite / gcc.dg / cpp / syshdr3.c
blob15749ff9961ec3ef7a2d44714cc674361b798581
1 /* Contributed by Dodji Seketeli <dodji@redhat.com> */
2 /* Origin: PR preprocessor/7263 */
3 /* { dg-options "-pedantic -std=c89 -ftrack-macro-expansion=1" } */
4 /* { dg-do compile } */
6 /* This tests the proprer suppression of warning coming from macro
7 defined in system headers and expanded in a non-system header
8 location. */
9 #include "syshdr3.h"
11 static _Complex float c = _Complex_I + _Complex_I; /* These macros are defined in
12 system header so we should
13 have no warning here. */
14 U_LL u = ONE_ULL; /* Likewise here. */
16 unsigned long long v = 1ULL; /* { dg-warning "long long" } */