mirror of
https://github.com/github/codeql.git
synced 2025-12-17 09:13:20 +01:00
12 lines
171 B
C++
12 lines
171 B
C++
|
|
|
|
enum Cheese { cheddar, brie, camembert, gouda };
|
|
|
|
// This struct is POD in C++03, but not in C++11.
|
|
struct Foo
|
|
{
|
|
int a = 0;
|
|
int b = 0;
|
|
Cheese cheese = cheddar;
|
|
};
|