2 /* { dg-do compile } */
3 /* { dg-options "-fno-diagnostics-show-caret" } */
4 /* { dg-bogus "not supported by" "" { target *-*-* } 0 } */
6 void foo1(char **p
, char **q
)
8 (p
- q
)(); /* { dg-error "is not a function" } */
11 void foo2(double x
, double y
)
13 (x
/y
)(); /* { dg-error "is not a function" } */
16 void foo3(unsigned i
, int j
)
18 (i
<< j
| i
>> (32 - j
))(); /* { dg-error "is not a function" } */
19 (i
>> j
| i
<< (32 - j
))(); /* { dg-error "is not a function" } */
22 void foo4(char *p
, char *q
)
24 (p
< q
? p
: q
)(); /* { dg-error "is not a function" } */
25 (p
> q
? p
: q
)(); /* { dg-error "is not a function" } */