mirror of
https://github.com/github/codeql.git
synced 2026-06-13 17:01:10 +02:00
9 lines
193 B
C++
9 lines
193 B
C++
// This file is present to test whether name-qualifying an enum constant leads to a database inconsistency.
|
|
|
|
|
|
struct S { enum E { A }; };
|
|
|
|
static void f() {
|
|
switch(0) { case S::A: break; }
|
|
}
|