aboutsummaryrefslogtreecommitdiff
path: root/tests/include
diff options
context:
space:
mode:
authorGanesh Viswanathan <dev@genotrance.com>2020-05-11 16:49:44 -0500
committerGanesh Viswanathan <dev@genotrance.com>2020-05-11 22:56:46 -0500
commit8d4866160ef91084ea13b526694e56ce9c805dd2 (patch)
tree0ac2ee190451049da23be18f89ce5cab682dd3cf /tests/include
parentecb5f2ede6bbc793c81ce3bc0f1ea973deb95d2a (diff)
downloadnimterop-issue196-2.tar.gz
nimterop-issue196-2.zip
Fix #196 - allow remapping of typesissue196-2
Diffstat (limited to 'tests/include')
-rw-r--r--tests/include/tast2.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/include/tast2.h b/tests/include/tast2.h
index 878a3a2..bbb3315 100644
--- a/tests/include/tast2.h
+++ b/tests/include/tast2.h
@@ -243,6 +243,12 @@ static inline int sitest1(int f1) {
return f1 * 2;
}
+// Issue #196
+typedef int MyInt;
+struct TestMyInt {
+ MyInt f1;
+};
+
// DUPLICATES
@@ -439,6 +445,12 @@ static inline int sitest1(int f1) {
return f1 * 2;
}
+// Issue #196
+typedef int MyInt;
+struct TestMyInt {
+ MyInt f1;
+};
+
#endif