| 1 |
/* Contributed by Dodji Seketeli <[email protected]> */ |
| 2 |
/* Origin: PR preprocessor/7263 */ |
| 3 |
/* { dg-options "-pedantic -std=c++98 -ftrack-macro-expansion=1" } */ |
| 4 |
/* { dg-do compile } */ |
| 5 |
|
| 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" |
| 10 |
|
| 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. */ |
| 15 |
|
| 16 |
unsigned long long v = 1ULL; /* { dg-warning "long long" } */ |