mirror of
https://github.com/github/codeql.git
synced 2025-12-21 03:06:31 +01:00
12 lines
171 B
C
12 lines
171 B
C
enum numbers {
|
|
zero, one
|
|
};
|
|
|
|
static int is_one(int x) {
|
|
switch(x) {
|
|
case one: return one;
|
|
default: return zero;
|
|
}
|
|
}
|
|
// semmle-extractor-options: --microsoft
|