]> granicus.if.org Git - clang/commitdiff
clang/test/Parser/cxx1z-class-template-argument-deduction.cpp: Tweak to ignore thiscall.
authorNAKAMURA Takumi <geek4civic@gmail.com>
Tue, 14 Feb 2017 03:18:24 +0000 (03:18 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Tue, 14 Feb 2017 03:18:24 +0000 (03:18 +0000)
  Line 38: multiple overloads of 'f' instantiate to the same signature 'void (int) __attribute__((thiscall))'

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@295020 91177308-0d34-0410-b5e6-96231b3b80d8

test/Parser/cxx1z-class-template-argument-deduction.cpp

index b7c7ef7500c531504d98a9064fd7c3f114a1b152..dac17dfbf480edab8245c5a24c32d1b63edc2307 100644 (file)
@@ -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}}