gcc/testsuite/g++.dg/modules/inext-1.H
raw| 1 | // { dg-additional-options "-fmodule-header -isystem [srcdir] -isystem [srcdir]/sys -fdump-lang-module" } |
| 2 | |
| 3 | #ifndef _PROTECT |
| 4 | #define _PROTECT |
| 5 | |
| 6 | /* We were found on the system inc path, so have been turned into a |
| 7 | system header, so no warning on the following extension. */ |
| 8 | #include_next <inext-1.H> |
| 9 | |
| 10 | #endif |
| 11 | |
| 12 | // { dg-final { scan-lang-dump {Wrote section:1 named-by:'::foo'} module } } |