From c6274ce3587e95453f4d4386fab4a77c9d56e18b Mon Sep 17 00:00:00 2001 From: Reid Kleckner Date: Fri, 19 Jul 2013 20:32:18 +0000 Subject: [PATCH] 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 --- test/SemaTemplate/instantiate-function-params.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) { -- 2.40.0