Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/cpp/syshdr3.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
/* Contributed by Dodji Seketeli <dodji@redhat.com> */ /* Origin: PR preprocessor/7263 */ /* { dg-options "-pedantic -std=c89 -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" } */