Skip to content

Commit 2e5f253

Browse files
committed
gogensig:panic setunderlying case in goplus#61
1 parent 43aad95 commit 2e5f253

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"name": "enum",
3-
"include": ["temp.h"],
3+
"include": ["temp.h","compact.h"],
44
"cplusplus":false
55
}

cmd/gogensig/convert/_testdata/enum/hfile/temp.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
enum { enum1, enum2 };
23
enum spectrum { red, orange, yello, green, blue, violet };
34

@@ -17,4 +18,4 @@ typedef enum {
1718
NULL2 = 1,
1819
} algorithm_t2;
1920

20-
typedef algorithm_t algorithm;
21+
#include <compact.h>

0 commit comments

Comments
 (0)