summaryrefslogtreecommitdiff
path: root/test/linker/archive/foo.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/linker/archive/foo.s')
-rw-r--r--test/linker/archive/foo.s18
1 files changed, 18 insertions, 0 deletions
diff --git a/test/linker/archive/foo.s b/test/linker/archive/foo.s
new file mode 100644
index 000000000..28a2ca13b
--- /dev/null
+++ b/test/linker/archive/foo.s
@@ -0,0 +1,18 @@
+ .text
+ .file "src/work/binaryen/test/linker/foo.c"
+ .section .text.foo,"ax",@progbits
+ .hidden foo
+ .globl foo
+ .type foo,@function
+foo: # @foo
+ .result i32
+ .local i32
+# BB#0: # %entry
+ i32.const $0=, 43
+ return $0
+ .endfunc
+.Lfunc_end0:
+ .size foo, .Lfunc_end0-foo
+
+
+ .ident "clang version 3.9.0 (trunk 267883) (llvm/trunk 267901)"