From: Reid Kleckner Date: Fri, 19 Jul 2013 20:32:18 +0000 (+0000) Subject: Use an i686 triple for this test now that it uses stdcall X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c6274ce3587e95453f4d4386fab4a77c9d56e18b;p=clang 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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@186719 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/SemaTemplate/instantiate-function-params.cpp b/test/SemaTemplate/instantiate-function-params.cpp index 97ee03f29c..7ab21c7d7e 100644 --- a/test/SemaTemplate/instantiate-function-params.cpp +++ b/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 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 x) {