summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/c90-func-2.c
blob: 5185e35db561881fc88da5808067e200ae5d13f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* Test that we don't pedwarn about __func__ predefined identifier in
   a system header in C90 pedantic mode.  */
/* { dg-do compile } */
/* { dg-options "-std=iso9899:1990 -pedantic-errors" } */

#include "c90-func-2.h"

void
foo (void)
{
  const char *s = FN;
}