forked from OSchip/llvm-project
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))' llvm-svn: 295020
This commit is contained in:
parent
a0ddb1ed46
commit
eb7702e07d
|
@ -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}}
|
||||
|
|
Loading…
Reference in New Issue