diff options
author | Emilio Cobos Álvarez <emilio@crisal.io> | 2016-12-15 18:02:49 +0100 |
---|---|---|
committer | Emilio Cobos Álvarez <emilio@crisal.io> | 2016-12-15 18:02:49 +0100 |
commit | 1129431b00cb3ab76dce0ab8b2956d319d939f3a (patch) | |
tree | b4c6e649f43f50d692ad2b203ce31c5eb784175e /libbindgen/tests/headers/constructor-tp.hpp | |
parent | 59987f142bbd97e44437532a640eb66c4d3a3e52 (diff) |
ir: Don't parse constructors twice.
Diffstat (limited to 'libbindgen/tests/headers/constructor-tp.hpp')
-rw-r--r-- | libbindgen/tests/headers/constructor-tp.hpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/libbindgen/tests/headers/constructor-tp.hpp b/libbindgen/tests/headers/constructor-tp.hpp new file mode 100644 index 00000000..7a420413 --- /dev/null +++ b/libbindgen/tests/headers/constructor-tp.hpp @@ -0,0 +1,19 @@ + +template<typename T> +class Foo { +public: + Foo(); +}; + +class Bar { +public: + Bar(); +}; + +template<typename T> +Foo<T>::Foo() { +} + +inline +Bar::Bar() { +} |