summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorEllie Hermaszewska <ellieh@nvidia.com>2025-07-09 14:41:19 +0800
committerGitHub <noreply@github.com>2025-07-09 06:41:19 +0000
commit00746bf09047cdf01c19dac513a532bcf3ed3ea3 (patch)
tree3424872a629307fc9fb4dc04ea5e9a0a787a6523 /tests
parent4f54cccf0e0e06be38312e2ee97c2b50b82d7c10 (diff)
Stable names and backwards compat for serialized IR modules (#7644)
* stable names * tests, options and ci for stable names * Add back compat design document * fix warnings * formatting * comment * neaten * regenerate command line reference * consolidate ci scripts * faster ci * remove libreadline * Move new function to end of interface --------- Co-authored-by: slangbot <186143334+slangbot@users.noreply.github.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/ir/dump-module-info.slang13
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: {{.+}}
+
+