diff options
Diffstat (limited to '')
-rw-r--r-- | src/test/ui/conditional-compilation/inner-cfg-non-inline-mod.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/test/ui/conditional-compilation/inner-cfg-non-inline-mod.rs b/src/test/ui/conditional-compilation/inner-cfg-non-inline-mod.rs new file mode 100644 index 000000000..af5a6462e --- /dev/null +++ b/src/test/ui/conditional-compilation/inner-cfg-non-inline-mod.rs @@ -0,0 +1,7 @@ +// check-pass + +mod module_with_cfg; + +mod module_with_cfg {} // Ok, the module above is configured away by an inner attribute. + +fn main() {} |