PR c++/81917 - ICE with void_t and partial specialization.
[official-gcc.git] / gcc / testsuite / g++.dg / overload / using4.C
blobe4ee8232ebe0684e693bd7d9f9458156a0f8769c
1 struct A
3   void f();
4 };
6 struct B
8   void f();
9 };
11 struct C: A,B {
12   using A::f;
13   using B::f;
16 int main()
18   C().f();                      // { dg-error "ambiguous" }