blob: fa0af76834250d10fc3769f64240d562829b0e53 [file] [log] [blame]
Nate Begemanb6789ca2008-03-07 20:04:49 +00001// RUN: clang %s -fsyntax-only -verify
2
3void __attribute__((fastcall)) foo(float *a) {
4}
5
6void __attribute__((stdcall)) bar(float *a) {
7}
8
9void __attribute__((fastcall(1))) baz(float *a) { // expected-error {{attribute requires 0 argument(s)}}
10}