mirror of
https://github.com/github/codeql.git
synced 2025-12-18 09:43:15 +01:00
15 lines
200 B
C#
15 lines
200 B
C#
enum E
|
|
{
|
|
A
|
|
}
|
|
|
|
class EnumTest
|
|
{
|
|
void M()
|
|
{
|
|
// enums are modelled as fields; this test checks that we do not compute SSA for them
|
|
var e1 = E.A;
|
|
var e2 = E.A;
|
|
}
|
|
}
|