aboutsummaryrefslogtreecommitdiffstats
path: root/test/Verifier/comdat3.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Verifier/comdat3.ll')
-rw-r--r--test/Verifier/comdat3.ll5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Verifier/comdat3.ll b/test/Verifier/comdat3.ll
new file mode 100644
index 0000000..28df930
--- /dev/null
+++ b/test/Verifier/comdat3.ll
@@ -0,0 +1,5 @@
+; This used to be invalid, but now it's valid. Ensure the verifier
+; doesn't reject it.
+; RUN: llvm-as %s -o /dev/null
+
+$v = comdat largest