File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1328,7 +1328,7 @@ class TestVarID : public TestFixture {
13281328 ASSERT_EQUALS (expected2, tokenize (code2));
13291329
13301330 const char code3[] = " extern void (*arr[10])(uint32_t some);\n " ;
1331- const char expected3[] = " 1: extern void ( * arr@1 [ 10 ] ) ( uint32_t some@2 ) ;\n " ;
1331+ const char expected3[] = " 1: extern void ( * arr@1 [ 10 ] ) ( uint32_t ) ;\n " ;
13321332 ASSERT_EQUALS (expected3, tokenize (code3));
13331333
13341334 const char code4[] = " _Static_assert(sizeof((struct S){0}.i) == 4);\n " ; // #12729
@@ -3545,7 +3545,7 @@ class TestVarID : public TestFixture {
35453545 " }\n " ;
35463546 ASSERT_EQUALS (" 1: void f ( ) {\n "
35473547 " 2: int * p@1 ;\n "
3548- " 3: void ( * a@2 [ 1 ] ) ( int * p ) = { 0 } ;\n "
3548+ " 3: void ( * a@2 [ 1 ] ) ( int * ) = { 0 } ;\n "
35493549 " 4: }\n " ,
35503550 tokenize (code4));
35513551 }
You can’t perform that action at this time.
0 commit comments