From 673d81b8c7b61c83f4d4f204c566d84d68d01ca7 Mon Sep 17 00:00:00 2001 From: Reid Kleckner Date: Fri, 19 Jul 2013 20:32:18 +0000 Subject: 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 --- clang/test/SemaTemplate/instantiate-function-params.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'clang/test/SemaTemplate/instantiate-function-params.cpp') 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 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) { -- cgit v1.2.3