summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr62294.c
blob: c6ec5a75369fb25f2c6bb677a1093840b3bcb215 (plain)
1
2
3
4
5
6
7
8
9
10
/* PR c/62294 */
/* { dg-do compile } */

#include "pr62294.h"

void
fn (int *u)
{
  foo (u); /* { dg-error "passing argument 1 of .bar. from incompatible pointer type" } */
}