aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/indent/tests/struct.0.stdout
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/indent/tests/struct.0.stdout')
-rw-r--r--usr.bin/indent/tests/struct.0.stdout22
1 files changed, 22 insertions, 0 deletions
diff --git a/usr.bin/indent/tests/struct.0.stdout b/usr.bin/indent/tests/struct.0.stdout
new file mode 100644
index 000000000000..55b559ab9d6b
--- /dev/null
+++ b/usr.bin/indent/tests/struct.0.stdout
@@ -0,0 +1,22 @@
+
+int f(struct x *a);
+
+/* See r303485 */
+void
+t(void)
+{
+ static const struct {
+ int a;
+ int b;
+ } c[] = {
+ {D, E},
+ {F, G}
+ };
+}
+
+void
+u(struct x a)
+{
+ int b;
+ struct y c = (struct y *)&a;
+}