aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/emscripten-regparm.c
blob: 20ffc9dec0a53c6fc9eb32947e13b1af4006a215 (plain)
1
2
3
4
// RUN: %clang_cc1 -triple asmjs-unknown-emscripten %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}}