aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr85045.c
blob: 8c4a7aa36a48fe6b6102233822235bc04aa5a4d4 (plain)
1
2
3
4
5
6
7
8
9
/* PR c/85045 */
/* { dg-do compile } */
/* { dg-options "-fno-diagnostics-show-caret" } */

void
f (double a, double b)
{
  (a / b) (); /* { dg-error "called object .a / b. is not a function or function pointer" } */
}