OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [pr35334.c] - Blame information for rev 701

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* PR c++/35334 */
2
/* { dg-do compile } */
3
/* { dg-options "-std=gnu99" } */
4
/* { dg-bogus "not supported by" "" { target *-*-* } 0 } */
5
 
6
__complex__ unsigned int i;
7
int j;
8
char k;
9
__complex__ double l;
10
double m;
11
float n;
12
 
13
void
14
foo ()
15
{
16
  ((__complex__ int)i)();               /* { dg-error "is not a function" } */
17
  ((__complex__ int)j)();               /* { dg-error "is not a function" } */
18
  ((__complex__ int)k)();               /* { dg-error "is not a function" } */
19
  ((__complex__ long double)l)();       /* { dg-error "is not a function" } */
20
  ((__complex__ long double)m)();       /* { dg-error "is not a function" } */
21
  ((__complex__ long double)n)();       /* { dg-error "is not a function" } */
22
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.