1# RUN: llvm-mc -triple=wasm32-unknown-unknown -filetype=obj %s -o %t.o 2>&1 | FileCheck %s 2# RUN: llvm-objdump -t %t.o 3 4foo: 5 .functype foo () -> () 6 i32.const 1 7 drop 8 end_function 9 10# .size directives for functions are no longer required and will 11# be ignored but we continue to allow them to support legacy 12# assembly files. 13.size foo, 0 14 15# CHECK: warning: .size directive ignored for function symbols 16