aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/common/80 declare dep/entity/entity1.c
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/common/80 declare dep/entity/entity1.c')
-rw-r--r--meson/test cases/common/80 declare dep/entity/entity1.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/meson/test cases/common/80 declare dep/entity/entity1.c b/meson/test cases/common/80 declare dep/entity/entity1.c
new file mode 100644
index 000000000..d124e24e8
--- /dev/null
+++ b/meson/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;
+}