commit | 0b84a53412a6acac38e2d647d220ce7af851395e | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Tue Aug 25 15:24:38 2009 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Tue Aug 25 15:24:38 2009 +0000 |
tree | 601bdb2f6bcb48eecee02170ef56655a264a8449 | |
parent | 4fb77202ceef22a572cf4357f380b08f6bcc5c36 [diff] [blame] |
Add a little more testing for default arguments of constructors in a class template git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79989 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/SemaTemplate/default-expr-arguments.cpp b/test/SemaTemplate/default-expr-arguments.cpp index 7c813c9..7e705b0 100644 --- a/test/SemaTemplate/default-expr-arguments.cpp +++ b/test/SemaTemplate/default-expr-arguments.cpp
@@ -23,8 +23,11 @@ F(T t = 10); }; +struct FD : F<int> { }; + void g2() { F<int> f; + FD fd; } template<typename T> struct G {