1/* PR 7263: __extension__ keyword doesn't suppress warning on LL or ULL constants. */ 2/* { dg-do compile } */ 3/* { dg-options "-std=c99 -pedantic-errors" } */ 4#include "pr7263-3.h" 5__complex__ bar () /* { dg-error "ISO C does not support plain .complex. meaning .double complex." } */ 6{ 7 return _Complex_I_ext; 8} 9 10__extension__ __complex__ 11bar2 () 12{ 13 return _Complex_I; 14} 15 16__complex__ bar3 () /* { dg-error "ISO C does not support plain .complex. meaning .double complex." } */ 17{ 18 return _Complex_I; /* { dg-error "imaginary constants are a GCC extension" } */ 19} 20