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
16
thirdparty/hedley/test/pure.c
vendored
Normal file
16
thirdparty/hedley/test/pure.c
vendored
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
#include "../hedley.h"
|
||||
|
||||
static int* b;
|
||||
|
||||
HEDLEY_PURE
|
||||
static int taxi(int a) {
|
||||
return
|
||||
(a * a * a) +
|
||||
(*b * *b * *b);
|
||||
}
|
||||
|
||||
int main(void) {
|
||||
*b = 10;
|
||||
|
||||
return taxi(9);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue