[AMDGPU][True16][CodeGen] true16 codegen pattern for v_med3_u/i16 (#121850)
[llvm-project.git] / llvm / test / MC / WebAssembly / function-size-warning.s
blob627002dd35781587d277198d7d79d95a158760e4
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
4 foo:
5 .functype foo () -> ()
6 i32.const 1
7 drop
8 end_function
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
15 # CHECK: warning: .size directive ignored for function symbols