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
23
thirdparty/hedley/test/no-throw.c
vendored
Normal file
23
thirdparty/hedley/test/no-throw.c
vendored
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
#include "../hedley.h"
|
||||
|
||||
HEDLEY_INLINE
|
||||
static int test_inline(int a, int b) {
|
||||
return a * b;
|
||||
}
|
||||
|
||||
HEDLEY_ALWAYS_INLINE
|
||||
static int test_always_inline(int a, int b) {
|
||||
return a * b;
|
||||
}
|
||||
|
||||
HEDLEY_NEVER_INLINE
|
||||
static int test_never_inline(int a, int b) {
|
||||
return a * b;
|
||||
}
|
||||
|
||||
int main(void) {
|
||||
return
|
||||
test_inline(
|
||||
test_always_inline(1, 2),
|
||||
test_never_inline(3, 4));
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue