aboutsummaryrefslogtreecommitdiff
path: root/test/ELF/undef.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/ELF/undef.s')
-rw-r--r--test/ELF/undef.s4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/ELF/undef.s b/test/ELF/undef.s
index a51172339..e6277e366 100644
--- a/test/ELF/undef.s
+++ b/test/ELF/undef.s
@@ -20,6 +20,9 @@
# CHECK: >>> referenced by undef.s
# CHECK: >>> {{.*}}:(.text+0x10)
+# CHECK: error: undefined symbol: vtable for Foo
+# CHECK: the vtable symbol may be undefined because the class is missing its key function (see https://lld.llvm.org/missingkeyfunction)
+
# CHECK: error: undefined symbol: zed2
# CHECK: >>> referenced by {{.*}}.o:(.text+0x0) in archive {{.*}}2.a
@@ -60,3 +63,4 @@ _start:
call bar
call zed1
call _Z3fooi
+ call _ZTV3Foo