blob: 39168239a39e1908041ccde7b2154e2cdaab25cb [file] [log] [blame]
/* Contributed by Dodji Seketeli <dodji@redhat.com> */
/* Origin: PR preprocessor/7263 */
/* { dg-options "-pedantic -std=c++98 -ftrack-macro-expansion=1" } */
/* { dg-do compile } */
/* This tests the proprer suppression of warning coming from macro
defined in system headers and expanded in a non-system header
location. */
#include "syshdr3.h"
static _Complex float c = _Complex_I + _Complex_I; /* These macros are defined in
system header so we should
have no warning here. */
U_LL u = ONE_ULL; /* Likewise here. */
unsigned long long v = 1ULL; /* { dg-warning "long long" } */