aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGenObjC/Inputs/strong_in_union.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGenObjC/Inputs/strong_in_union.h')
-rw-r--r--test/CodeGenObjC/Inputs/strong_in_union.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/CodeGenObjC/Inputs/strong_in_union.h b/test/CodeGenObjC/Inputs/strong_in_union.h
new file mode 100644
index 000000000000..abe4549055c6
--- /dev/null
+++ b/test/CodeGenObjC/Inputs/strong_in_union.h
@@ -0,0 +1,10 @@
+#ifndef STRONG_IN_UNION_H
+#define STRONG_IN_UNION_H
+#pragma clang system_header
+
+typedef union {
+ id f0;
+ int *f1;
+} U;
+
+#endif // STRONG_IN_UNION_H