r186719 - Use an i686 triple for this test now that it uses stdcall

Reid Kleckner reid at kleckner.net
Fri Jul 19 13:32:18 PDT 2013


Author: rnk
Date: Fri Jul 19 15:32:18 2013
New Revision: 186719

URL: http://llvm.org/viewvc/llvm-project?rev=186719&view=rev
Log:
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.

Modified:
    cfe/trunk/test/SemaTemplate/instantiate-function-params.cpp

Modified: cfe/trunk/test/SemaTemplate/instantiate-function-params.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaTemplate/instantiate-function-params.cpp?rev=186719&r1=186718&r2=186719&view=diff
==============================================================================
--- cfe/trunk/test/SemaTemplate/instantiate-function-params.cpp (original)
+++ cfe/trunk/test/SemaTemplate/instantiate-function-params.cpp Fri Jul 19 15:32:18 2013
@@ -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) {





More information about the cfe-commits mailing list