You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
350 B
16 lines
350 B
# REQUIRES: x86
|
|
|
|
# RUN: llvm-mc -filetype=obj -triple=x86_64-apple-darwin %s -o %t.o
|
|
|
|
# RUN: not %lld %t.o -o /dev/null 2>&1 | FileCheck %s
|
|
# RUN: not %lld -demangle %t.o -o /dev/null 2>&1 | \
|
|
# RUN: FileCheck --check-prefix=DEMANGLE %s
|
|
|
|
# CHECK: undefined symbol __Z1fv
|
|
# DEMANGLE: undefined symbol f()
|
|
|
|
.globl _main
|
|
_main:
|
|
callq __Z1fv
|
|
ret
|