summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaTemplate/instantiate-function-params.cpp
diff options
context:
space:
mode:
authorReid Kleckner <reid@kleckner.net>2013-07-19 20:32:18 +0000
committerReid Kleckner <reid@kleckner.net>2013-07-19 20:32:18 +0000
commit673d81b8c7b61c83f4d4f204c566d84d68d01ca7 (patch)
tree378e23832a5a5a799c5a741d7f76aa9e91c8308d /clang/test/SemaTemplate/instantiate-function-params.cpp
parent06028a54545a43eb7d16aae4ab7bcb8635b68434 (diff)
downloadbcm5719-llvm-673d81b8c7b61c83f4d4f204c566d84d68d01ca7.tar.gz
bcm5719-llvm-673d81b8c7b61c83f4d4f204c566d84d68d01ca7.zip
Use an i686 triple for this test now that it uses stdcall
There seems to be a crash here if we have a calling convention attribute that gets ignored and then we instantiate templates. llvm-svn: 186719
Diffstat (limited to 'clang/test/SemaTemplate/instantiate-function-params.cpp')
-rw-r--r--clang/test/SemaTemplate/instantiate-function-params.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/clang/test/SemaTemplate/instantiate-function-params.cpp b/clang/test/SemaTemplate/instantiate-function-params.cpp
index 97ee03f29ce..7ab21c7d7ed 100644
--- a/clang/test/SemaTemplate/instantiate-function-params.cpp
+++ b/clang/test/SemaTemplate/instantiate-function-params.cpp
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -triple i686-unknown-unknown -fsyntax-only -verify %s
// PR6619
template<bool C> struct if_c { };
@@ -86,6 +86,8 @@ namespace InstantiateFunctionTypedef {
typedef int stdfunctype(int, int) __attribute__((stdcall));
__attribute__((stdcall)) functype stdfunc1;
stdfunctype stdfunc2;
+
+ // FIXME: Test a calling convention not supported by this target.
};
void f(X<int> x) {
OpenPOWER on IntegriCloud