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