gcc/testsuite/g++.dg/pch/line-map-2.C
raw| 1 | /* PR preprocessor/105608 */ |
| 2 | /* { dg-do compile } */ |
| 3 | /* { dg-additional-options "-save-temps" } */ |
| 4 | #define MACRO_ON_A_LONG_LINE "this line is long enough that it forces the line table to create an LC_RENAME map, which formerly triggered an ICE after PCH restore" |
| 5 | #include "line-map-2.H" |
| 6 | #error "suppress PCH assembly comparison, which does not work with -save-temps" /* { dg-error "." } */ |