summaryrefslogtreecommitdiff
path: root/libbindgen/tests/headers/using.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'libbindgen/tests/headers/using.hpp')
-rw-r--r--libbindgen/tests/headers/using.hpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/libbindgen/tests/headers/using.hpp b/libbindgen/tests/headers/using.hpp
new file mode 100644
index 00000000..ba07b9c8
--- /dev/null
+++ b/libbindgen/tests/headers/using.hpp
@@ -0,0 +1,11 @@
+// bindgen-flags: -- -std=c++11
+
+template<typename T>
+class Point {
+ T x;
+ T y;
+};
+
+typedef Point<int> IntPoint2D;
+
+using IntVec2D = Point<int>;