aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp2a/using-enum-11.C
blob: ff99ed422d5f6f5a03febda26c6feb06ac6ed930 (plain)
1
2
3
4
5
6
7
8
9
// PR c++/116160
// { dg-do compile { target c++20 } }

enum class Blah { b };
void foo() {
  using Blah::b;
  using Blah::b;
  using enum Blah;
}