[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Driver / notypecheck.s
blob8e924b57fbdc0003826f4a3856c3ef2a3e08c4d5
1 # REQUIRES: webassembly-registered-target
3 # RUN: %clang -### %s -c -o tmp.o -target wasm32-unknown-unknown -Wa,--no-type-check 2>&1 | FileCheck %s
4 # CHECK: "-cc1as" {{.*}} "-mno-type-check"
6 # Verify that without -Wa,--no-type-check the assembler will error out
7 # RUN: not %clang %s -c -o tmp.o -target wasm32-unknown-unknown 2>&1 | FileCheck --check-prefix=ERROR %s
8 # ERROR: error: type mismatch, expected [i32] but got [i64]
10 foo:
11 .functype foo () -> (i32)
12 i64.const 42
13 end_function