Skip to content

Commit 49255bb

Browse files
committed
added test for an issue about "const char *" demangling in gcc4
1 parent 8bc527a commit 49255bb

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/test/java/org/bridj/DemanglingTest.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,10 @@ public void simpleConstructor() {
311311
pointerType(pointerType(Byte.class))
312312
);
313313
}
314+
@Test
315+
public void twiceConstCharPointerFromBugRequests() {
316+
demangle(null, "_ZN16cmd_create_event6createEPKcS1_PS1_", "null cmd_create_event.create(const byte*, const byte*, const byte**)");
317+
}
314318
@Test
315319
public void methods() {
316320
demangle(

0 commit comments

Comments
 (0)