summaryrefslogtreecommitdiff
path: root/tests/headers/using.hpp
diff options
context:
space:
mode:
authorEmilio Cobos Álvarez <ecoal95@gmail.com>2016-04-06 09:32:09 +0200
committerEmilio Cobos Álvarez <ecoal95@gmail.com>2016-04-06 09:33:41 +0200
commit03ccb5a1997d7c7745826da38ea2aa6e9026b08b (patch)
treeb40ab8547297b5ce1b6c30fab2ec7c119c664e03 /tests/headers/using.hpp
parente71c4fb4773768c6b5266896a33338ff29e49bad (diff)
parser: Add support for using declarations.
Diffstat (limited to 'tests/headers/using.hpp')
-rw-r--r--tests/headers/using.hpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/headers/using.hpp b/tests/headers/using.hpp
new file mode 100644
index 00000000..f402ef32
--- /dev/null
+++ b/tests/headers/using.hpp
@@ -0,0 +1,10 @@
+
+template<typename T>
+class Point {
+ T x;
+ T y;
+};
+
+typedef Point<int> IntPoint2D;
+
+using IntVec2D = Point<int>;