summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/cpp/pr29612-1.c
blob: f840c3823a65d0240bb32708c56954511ca6d8e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* PR preprocessor/29612 */
/* { dg-do compile } */
/* { dg-options "" } */

# 6 "pr29612-1.c"

int foo (void) { return 'ab'; } /* { dg-warning "multi-character" } */

# 1 "foo.h" 1 3

int bar (void) { return 'ab'; } /* No warning in system header.  */

# 14 "pr29612-1.c" 2

int baz (void) { return 'ab'; } /* { dg-warning "multi-character" } */