[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / CodeGen / WebAssembly / wasm-regparm.c
blob66037d92b4f72528b1dc159b9dfd333016ab3e74
1 // RUN: %clang_cc1 -triple wasm32-unknown-unknown %s -fsyntax-only -verify
2 // RUN: %clang_cc1 -triple wasm64-unknown-unknown %s -fsyntax-only -verify
4 void __attribute__((regparm(2))) fc_f1(int i, int j, int k) {} // expected-error{{'regparm' is not valid on this platform}}