arm: fix typo in dg-require-effective-target [PR118089]
[official-gcc.git] / gcc / testsuite / gcc.dg / plugin / diagnostic-test-nesting-text-indented.c
blobe10342950a2613f6a54e7b9de8479d2cd4517657
1 /* { dg-do compile } */
2 /* { dg-options "-fdiagnostics-set-output=text:experimental-nesting=yes" } */
4 extern void foo (void);
6 void test_nesting (void)
8 foo (); /* { dg-error "top-level error" } */
11 /* { dg-begin-multiline-output "" }
12 * child 0
13 * grandchild 0 0
14 * grandchild 0 1
15 * grandchild 0 2
16 * child 1
17 * grandchild 1 0
18 * grandchild 1 1
19 * grandchild 1 2
20 * child 2
21 * grandchild 2 0
22 * grandchild 2 1
23 * grandchild 2 2
24 { dg-end-multiline-output "" } */