summaryrefslogtreecommitdiffstats
path: root/Tests/CustomTransitiveProperties/object1.c
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/CustomTransitiveProperties/object1.c')
-rw-r--r--Tests/CustomTransitiveProperties/object1.c36
1 files changed, 36 insertions, 0 deletions
diff --git a/Tests/CustomTransitiveProperties/object1.c b/Tests/CustomTransitiveProperties/object1.c
new file mode 100644
index 0000000..dcc5224
--- /dev/null
+++ b/Tests/CustomTransitiveProperties/object1.c
@@ -0,0 +1,36 @@
+#ifndef CUSTOM_A_IFACE1
+# error "CUSTOM_A_IFACE1 incorrectly not defined"
+#endif
+
+#ifndef CUSTOM_A_IFACE2
+# error "CUSTOM_A_IFACE2 incorrectly not defined"
+#endif
+
+#ifndef CUSTOM_A_OBJECT1
+# error "CUSTOM_A_OBJECT1 incorrectly not defined"
+#endif
+
+#ifndef CUSTOM_A_TARGET_NAME_OBJECT1
+# error "CUSTOM_A_TARGET_NAME_OBJECT1 incorrectly not defined"
+#endif
+
+#ifndef CUSTOM_A_TARGET_TYPE_OBJECT_LIBRARY
+# error "CUSTOM_A_TARGET_TYPE_OBJECT_LIBRARY incorrectly not defined"
+#endif
+
+#ifndef CUSTOM_C_IFACE1
+# error "CUSTOM_C_IFACE1 incorrectly not defined"
+#endif
+
+#ifndef CUSTOM_C_OBJECT1
+# error "CUSTOM_C_OBJECT1 incorrectly not defined"
+#endif
+
+#ifdef CUSTOM_C_OBJECT1_IFACE
+# error "CUSTOM_C_OBJECT1_IFACE incorrectly defined"
+#endif
+
+int object1(void)
+{
+ return 0;
+}