summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/cpp/pr36674.i
blob: 9362d5a408084045b719cf837a0cacc37305f59d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* PR cpp/36674  #include location is offset by one row in errors from preprocessed files */
/* { dg-do compile } */
/* { dg-options "-fshow-column" } */
# 1 "gcc/testsuite/gcc.dg/pr36674.c"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "gcc/testsuite/gcc.dg/pr36674.c"
# 1 "gcc/testsuite/gcc.dg/pr36674.h" 1
not_declared_yet();
# 1 "gcc/testsuite/gcc.dg/pr36674.c" 2
/* { dg-message "file included from \[^\n\]*pr36674.c:1:" "correct include line" { target *-*-* } 0 } */
/* { dg-message "pr36674.h:1:1: warning: data definition has no type or storage class" "correct warning" { target *-*-* } 0 } */