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
-// 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 { };
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) {