mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-15 12:39:19 +00:00
5f2c5541f7
be unique in its scope.
13 lines
203 B
C++
13 lines
203 B
C++
// RUN: %clang_cc1 -std=c++20 -verify %s
|
|
// expected-no-diagnostics
|
|
|
|
struct Q { enum F { f }; };
|
|
|
|
template<typename T> struct A : Q {
|
|
enum E { e } E = e;
|
|
|
|
using Q::F;
|
|
Q::F F = f;
|
|
};
|
|
A<int> a = {};
|