summaryrefslogtreecommitdiffstats
path: root/test/Modules/Inputs/odr/a.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/Modules/Inputs/odr/a.h')
-rw-r--r--test/Modules/Inputs/odr/a.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/Modules/Inputs/odr/a.h b/test/Modules/Inputs/odr/a.h
new file mode 100644
index 0000000..26144b8
--- /dev/null
+++ b/test/Modules/Inputs/odr/a.h
@@ -0,0 +1,13 @@
+extern struct Y {
+ int n;
+ float f;
+} y1;
+enum E { e1 };
+
+struct X {
+ int n;
+} x1;
+
+int f() {
+ return y1.n + e1 + y1.f + x1.n;
+}
OpenPOWER on IntegriCloud