diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ir/dump-module-info.slang | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/ir/dump-module-info.slang b/tests/ir/dump-module-info.slang new file mode 100644 index 000000000..9ce421161 --- /dev/null +++ b/tests/ir/dump-module-info.slang @@ -0,0 +1,13 @@ +//TEST:COMPILE: tests/ir/dump-module-info.slang -o tests/ir/dump-module-info.slang-module + +//TEST:SIMPLE(filecheck=CHECK): -get-module-info tests/ir/dump-module-info.slang-module + +module "foo"; + +// CHECK: Module Name: foo +// This will need bumping whenever we bump the ir module version +// CHECK: Module Version: 0 +// Just check that this is in the output with some string +// CHECK: Compiler Version: {{.+}} + + |
