From 32d832af98e917c1f2b58c165107bcb88bddc6e0 Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Tue, 20 May 2014 15:44:42 +0000 Subject: clang/test/SemaCXX/err_init_conversion_failed.cpp: Tweak for i686-msvc. For targeting i686-msvc, declarations are seen as thiscall like; void (template_test::S::*)(const int &) __attribute__((thiscall)) void (template_test::S::*)(int) __attribute__((thiscall)) It didn't affect x86_64-msvc. llvm-svn: 209212 --- clang/test/SemaCXX/err_init_conversion_failed.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/test') diff --git a/clang/test/SemaCXX/err_init_conversion_failed.cpp b/clang/test/SemaCXX/err_init_conversion_failed.cpp index 14d49547438..e31f215b452 100644 --- a/clang/test/SemaCXX/err_init_conversion_failed.cpp +++ b/clang/test/SemaCXX/err_init_conversion_failed.cpp @@ -56,6 +56,6 @@ template struct S2 { void test_15() { S2 X = {&S::foo}; - // expected-error@-1{{cannot initialize a member subobject of type 'void (template_test::S::*)(const int &)' with an rvalue of type 'void (template_test::S::*)(int)': type mismatch at 1st parameter ('const int &' vs 'int')}} + // expected-error-re@-1{{cannot initialize a member subobject of type 'void (template_test::S::*)(const int &){{( __attribute__\(\(thiscall\)\))?}}' with an rvalue of type 'void (template_test::S::*)(int){{( __attribute__\(\(thiscall\)\))?}}': type mismatch at 1st parameter ('const int &' vs 'int')}} } } -- cgit v1.2.3