Skip to content

Commit a78b0f3

Browse files
amanjeevqsdrqs
authored andcommitted
test: add test for rust-langGH-422
GitHub issue 422 was fixed but needs a test. rust-lang#422 Signed-off-by: Amanjeev Sethi <[email protected]>
1 parent b4fc029 commit a78b0f3

File tree

2 files changed

+48
-0
lines changed

2 files changed

+48
-0
lines changed

tests/expectations/tests/inner-typedef-gh422.rs

+37
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/headers/inner-typedef-gh422.hpp

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
template <typename T>
2+
class Foo {
3+
public:
4+
class InnerType {
5+
T t;
6+
};
7+
};
8+
9+
typedef Foo<int>::InnerType Bar;
10+
11+
Bar func();

0 commit comments

Comments
 (0)