blob: 225b659754c2f7a5581ce1f8893182f209bd87f5 [file] [log] [blame]
/* PR 7263: __extension__ keyword doesn't suppress warning on LL or ULL constants. */
/* { dg-do compile } */
/* { dg-options "-std=c99 -pedantic-errors -ftrack-macro-expansion=0" } */
#include "pr7263-3.h"
__complex__ bar () /* { dg-error "ISO C does not support plain .complex. meaning .double complex." } */
{
return _Complex_I_ext;
}
__extension__ __complex__
bar2 ()
{
return _Complex_I;
}
__complex__ bar3 () /* { dg-error "ISO C does not support plain .complex. meaning .double complex." } */
{
return _Complex_I; /* { dg-error "imaginary constants are a GCC extension" } */
}