diff options
author | Emilio Cobos Álvarez <ecoal95@gmail.com> | 2016-04-06 09:32:09 +0200 |
---|---|---|
committer | Emilio Cobos Álvarez <ecoal95@gmail.com> | 2016-04-06 09:33:41 +0200 |
commit | 03ccb5a1997d7c7745826da38ea2aa6e9026b08b (patch) | |
tree | b40ab8547297b5ce1b6c30fab2ec7c119c664e03 /tests/headers/using.hpp | |
parent | e71c4fb4773768c6b5266896a33338ff29e49bad (diff) |
parser: Add support for using declarations.
Diffstat (limited to 'tests/headers/using.hpp')
-rw-r--r-- | tests/headers/using.hpp | 10 |
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>; |