../../src/gcc/testsuite/gcc.dg/lsp/test.c: In function ‘test’: ../../src/gcc/testsuite/gcc.dg/lsp/test.c:12:1: error: expected identifier before ‘}’ token } ^ translation-unit 0x417c800 <../../src/gcc/testsuite/gcc.dg/lsp/test.c:3:1-12:1> |: 1 2 3 4 5 6 7 |: 1234567890123456789012345678901234567890123456789012345678901234567890123456789 |: struct foo |: ^~~~~~~~~~ |: { |: ~ |: int color; |: ~~~~~~~~~~ |: int shape; |: ~~~~~~~~~~ |: }; |: ~~ |: |: |: int test (struct foo *ptr) |: ~~~~~~~~~~~~~~~~~~~~~~~~~~ |: { |: ~ |: ptr-> |: ~~~~~ |: } |: ~ |-external-declaration 0x417d840 <3:1-7:2> | |: 1 2 3 4 5 6 7 | |: 1234567890123456789012345678901234567890123456789012345678901234567890123456789 | |: struct foo | |: ^~~~~~~~~~ | |: { | |: ~ | |: int color; | |: ~~~~~~~~~~ | |: int shape; | |: ~~~~~~~~~~ | |: }; | |: ~~ | `-declaration-specifiers 0x417d890 <3:1-7:1> | |: 1 2 3 4 5 6 7 | |: 1234567890123456789012345678901234567890123456789012345678901234567890123456789 | |: struct foo | |: ^~~~~~~~~~ | |: { | |: ~ | |: int color; | |: ~~~~~~~~~~ | |: int shape; | |: ~~~~~~~~~~ | |: }; | |: ~ | `-type-specifier 0x417d110 <3:1-7:1> | `-struct-or-union-specifier 0x417d160 <3:1-7:1> | `-struct-contents 0x417e560 <4:1-7:1> | |: 1 2 3 4 5 6 7 | |: 1234567890123456789012345678901234567890123456789012345678901234567890123456789 | |: { | |: ^ | |: int color; | |: ~~~~~~~~~~ | |: int shape; | |: ~~~~~~~~~~ | |: }; | |: ~ | |-struct-declaration 0x417e5b0 <5:3-5:11> | | |: 1 2 3 4 5 6 7 | | |: 1234567890123456789012345678901234567890123456789012345678901234567890123456789 | | |: int color; | | |: ^~~~~~~~~ | | |-declaration-specifiers 0x417e600 <5:3-5:5> | | | |: 1 2 3 4 5 6 7 | | | |: 1234567890123456789012345678901234567890123456789012345678901234567890123456789 | | | |: int color; | | | |: ^~~ | | | `-type-specifier 0x417eab0 <5:3-5:5> | | `-declarator 0x417eb00 <5:7-5:11> | | |: 1 2 3 4 5 6 7 | | |: 1234567890123456789012345678901234567890123456789012345678901234567890123456789 | | |: int color; | | |: ^~~~~ | | `-direct-declarator 0x417eb50 <5:7-5:11> | `-struct-declaration 0x417ee70 <6:3-6:11> | |: 1 2 3 4 5 6 7 | |: 1234567890123456789012345678901234567890123456789012345678901234567890123456789 | |: int shape; | |: ^~~~~~~~~ | |-declaration-specifiers 0x417eec0 <6:3-6:5> | | |: 1 2 3 4 5 6 7 | | |: 1234567890123456789012345678901234567890123456789012345678901234567890123456789 | | |: int shape; | | |: ^~~ | | `-type-specifier 0x417ef10 <6:3-6:5> | `-declarator 0x417f000 <6:7-6:11> | |: 1 2 3 4 5 6 7 | |: 1234567890123456789012345678901234567890123456789012345678901234567890123456789 | |: int shape; | |: ^~~~~ | `-direct-declarator 0x417f050 <6:7-6:11> `-external-declaration 0x417f0a0 <9:1-12:1> |: 1 2 3 4 5 6 7 |: 1234567890123456789012345678901234567890123456789012345678901234567890123456789 |: int test (struct foo *ptr) |: ^~~~~~~~~~~~~~~~~~~~~~~~~~ |: { |: ~ |: ptr-> |: ~~~~~ |: } |: ~ |-declaration-specifiers 0x417f180 <9:1-9:3> | |: 1 2 3 4 5 6 7 | |: 1234567890123456789012345678901234567890123456789012345678901234567890123456789 | |: int test (struct foo *ptr) | |: ^~~ | `-type-specifier 0x417f1d0 <9:1-9:3> |-declarator 0x417f8c0 <9:5-9:26> | |: 1 2 3 4 5 6 7 | |: 1234567890123456789012345678901234567890123456789012345678901234567890123456789 | |: int test (struct foo *ptr) | |: ^~~~~~~~~~~~~~~~~~~~~~ | `-direct-declarator 0x417f910 <9:5-9:26> | `-parameter-list 0x417f960 <9:11-9:26> | |: 1 2 3 4 5 6 7 | |: 1234567890123456789012345678901234567890123456789012345678901234567890123456789 | |: int test (struct foo *ptr) | |: ^~~~~~~~~~~~~~~~ | `-parameter-declaration 0x417fc80 <9:11-9:25> | |: 1 2 3 4 5 6 7 | |: 1234567890123456789012345678901234567890123456789012345678901234567890123456789 | |: int test (struct foo *ptr) | |: ^~~~~~~~~~~~~~~ | |-declaration-specifiers 0x417fcd0 <9:11-9:20> | | |: 1 2 3 4 5 6 7 | | |: 1234567890123456789012345678901234567890123456789012345678901234567890123456789 | | |: int test (struct foo *ptr) | | |: ^~~~~~~~~~ | | `-type-specifier 0x417fd20 <9:11-9:20> | | `-struct-or-union-specifier 0x417fe60 <9:11-9:20> | `-declarator 0x417feb0 <9:22-9:25> | |: 1 2 3 4 5 6 7 | |: 1234567890123456789012345678901234567890123456789012345678901234567890123456789 | |: int test (struct foo *ptr) | |: ^~~~ | |-declaration-specifiers 0x417ff00 <9:23-9:22> | | |: 1 2 3 4 5 6 7 | | |: 1234567890123456789012345678901234567890123456789012345678901234567890123456789 | | |: int test (struct foo *ptr) | | |: | `-declarator 0x417ffa0 <9:23-9:25> | |: 1 2 3 4 5 6 7 | |: 1234567890123456789012345678901234567890123456789012345678901234567890123456789 | |: int test (struct foo *ptr) | |: ^~~ | `-direct-declarator 0x417fff0 <9:23-9:25> `-expression 0x417c260 <11:3-11:7> |: 1 2 3 4 5 6 7 |: 1234567890123456789012345678901234567890123456789012345678901234567890123456789 |: ptr-> |: ^~~~~ `-assignment-expression 0x417c2b0 <11:3-11:7>