summaryrefslogtreecommitdiffstats
path: root/gcc/testsuite/gcc.dg/c90-longlong-1.c
blob: e91e39e80142c155c2b60a2735c7d37f6ed9697e (plain)
1
2
3
4
5
6
7
/* Test for long long: in C99 only.  */
/* Origin: Joseph Myers <jsm28@cam.ac.uk> */
/* { dg-do compile } */
/* { dg-options "-std=iso9899:1990 -pedantic-errors" } */

long long foo; /* { dg-bogus "warning" "warning in place of error" } */
/* { dg-error "long long" "long long not in C90" { target *-*-* } 6 } */
OpenPOWER on IntegriCloud