summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/parser-pr28152.c
blob: 99534c10bfe50a6ba82faa0e295c42711b82c8a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* PR 28152: error messages should mention _Complex */
/* { dg-do compile } */
/* { dg-options "" } */
int
main (void)
{
  _Complex float z;

  z = _Complex (1.90000007326203904e+19, 0.0);   /* { dg-error "_Complex" } */
  z = _Complex (1.0e+0, 0.0) / z;   /* { dg-error "_Complex" } */
  /* { dg-error "at end of input" "" { target *-*-* } 10 } */