diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-08-25 15:24:38 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-08-25 15:24:38 +0000 |
commit | 0b84a53412a6acac38e2d647d220ce7af851395e (patch) | |
tree | 601bdb2f6bcb48eecee02170ef56655a264a8449 /test/SemaTemplate/default-expr-arguments.cpp | |
parent | 4fb77202ceef22a572cf4357f380b08f6bcc5c36 (diff) |
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
Diffstat (limited to 'test/SemaTemplate/default-expr-arguments.cpp')
-rw-r--r-- | test/SemaTemplate/default-expr-arguments.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/SemaTemplate/default-expr-arguments.cpp b/test/SemaTemplate/default-expr-arguments.cpp index 7c813c9852..7e705b034d 100644 --- a/test/SemaTemplate/default-expr-arguments.cpp +++ b/test/SemaTemplate/default-expr-arguments.cpp @@ -23,8 +23,11 @@ template<typename T> struct F { F(T t = 10); }; +struct FD : F<int> { }; + void g2() { F<int> f; + FD fd; } template<typename T> struct G { |