llvm-for-llvmta/tools/clang/test/CodeGen/le32-regparm.c
Nils Hölscher 7f403f4f1e added clang
2022-04-25 13:02:35 +02:00

6 lines
256 B
C

// RUN: %clang_cc1 -triple le32-unknown-nacl %s -fsyntax-only -verify
// RUN: %clang_cc1 -triple aarch64 %s -fsyntax-only -verify
void __attribute__((regparm(2))) fc_f1(int i, int j, int k) {} // expected-error{{'regparm' is not valid on this platform}}