aboutsummaryrefslogtreecommitdiffhomepage
path: root/testdata/cgo/test.h
diff options
context:
space:
mode:
Diffstat (limited to 'testdata/cgo/test.h')
-rw-r--r--testdata/cgo/test.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/testdata/cgo/test.h b/testdata/cgo/test.h
new file mode 100644
index 000000000..8b5b32ea8
--- /dev/null
+++ b/testdata/cgo/test.h
@@ -0,0 +1,11 @@
+#pragma once
+
+typedef struct {
+ int a;
+ int b;
+} teststruct;
+
+typedef enum {
+ v0,
+ v1
+} testenum;