r295020 - clang/test/Parser/cxx1z-class-template-argument-deduction.cpp: Tweak to ignore thiscall.
NAKAMURA Takumi via cfe-commits
cfe-commits at lists.llvm.org
Mon Feb 13 19:18:24 PST 2017
Author: chapuni
Date: Mon Feb 13 21:18:24 2017
New Revision: 295020
URL: http://llvm.org/viewvc/llvm-project?rev=295020&view=rev
Log:
clang/test/Parser/cxx1z-class-template-argument-deduction.cpp: Tweak to ignore thiscall.
Line 38: multiple overloads of 'f' instantiate to the same signature 'void (int) __attribute__((thiscall))'
Modified:
cfe/trunk/test/Parser/cxx1z-class-template-argument-deduction.cpp
Modified: cfe/trunk/test/Parser/cxx1z-class-template-argument-deduction.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Parser/cxx1z-class-template-argument-deduction.cpp?rev=295020&r1=295019&r2=295020&view=diff
==============================================================================
--- cfe/trunk/test/Parser/cxx1z-class-template-argument-deduction.cpp (original)
+++ cfe/trunk/test/Parser/cxx1z-class-template-argument-deduction.cpp Mon Feb 13 21:18:24 2017
@@ -35,7 +35,7 @@ namespace injected_class_name {
A a = 1;
injected_class_name::A b = 1; // expected-note {{in instantiation of template class 'injected_class_name::A<int>'}}
}
- void f(T); // expected-error {{multiple overloads of 'f' instantiate to the same signature 'void (int)'}}
+ void f(T); // expected-error {{multiple overloads of 'f' instantiate to the same signature 'void (int)}}
};
A<short> ai = 1;
A<double>::A b(1); // expected-error {{constructor name}}
More information about the cfe-commits
mailing list