This commit is contained in:
Timothee Cour 2018-11-27 18:25:34 -05:00
commit 6a4158dab4
5 changed files with 9 additions and 40 deletions

View file

@ -40,4 +40,4 @@ int test_call_int();
struct STRUCT1 _test_call_int_param_(int param1);
STRUCT2 test_call_int_param2(int param1, STRUCT2 param2);
STRUCT2 test_call_int_param3(int param1, struct STRUCT1 param2);
ENUM2 test_call_int_param4(enum ENUM param1);
ENUM2 test_call_int_param4(enum ENUM param1);

View file

@ -1,8 +1,5 @@
#include "test2.hpp"
// BUG: should complain
// # include test2.h
int test_call_int() {
return 5;
}

View file

@ -1,4 +1,8 @@
#include <stdint.h>
#define TEST_INT 512
#define TEST_FLOAT 5.12
#define TEST_HEX 0x512
int test_call_int();