Initial import of libdpf.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
commit
e4e666f459
4563 changed files with 1690372 additions and 0 deletions
21
thirdparty/hedley/test/fallthrough.c
vendored
Normal file
21
thirdparty/hedley/test/fallthrough.c
vendored
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
#include "../hedley.h"
|
||||
|
||||
int main(int argc, char* argv[HEDLEY_ARRAY_PARAM(argc)]) {
|
||||
int foo = 0;
|
||||
|
||||
HEDLEY_STATIC_CAST(void, argv);
|
||||
|
||||
switch (argc) {
|
||||
case 2:
|
||||
foo = 1;
|
||||
break;
|
||||
case 1:
|
||||
foo = 2;
|
||||
HEDLEY_FALL_THROUGH;
|
||||
default:
|
||||
foo = 3;
|
||||
break;
|
||||
}
|
||||
|
||||
return foo;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue