Add new test


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@48018 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Sema/callingconv.c b/test/Sema/callingconv.c
new file mode 100644
index 0000000..fa0af76
--- /dev/null
+++ b/test/Sema/callingconv.c
@@ -0,0 +1,10 @@
+// RUN: clang %s -fsyntax-only -verify
+
+void __attribute__((fastcall)) foo(float *a) { 
+}
+
+void __attribute__((stdcall)) bar(float *a) { 
+}
+
+void __attribute__((fastcall(1))) baz(float *a) { // expected-error {{attribute requires 0 argument(s)}}
+}