diff options
Diffstat (limited to 'test cases/common/80 declare dep/entity/entity1.c')
-rw-r--r-- | test cases/common/80 declare dep/entity/entity1.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test cases/common/80 declare dep/entity/entity1.c b/test cases/common/80 declare dep/entity/entity1.c new file mode 100644 index 0000000..d124e24 --- /dev/null +++ b/test cases/common/80 declare dep/entity/entity1.c @@ -0,0 +1,9 @@ +#include"entity.h" + +#ifdef USING_ENT +#error "Entity use flag leaked into entity compilation." +#endif + +int entity_func1(void) { + return 5; +} |