commit | 676ec88aea96eb7f5cf51a537f3c3d4114d7d9a7 | [log] [tgz] |
---|---|---|
author | Douglas Gregor <doug.gregor@gmail.com> | Tue Aug 25 15:24:38 2009 +0000 |
committer | Douglas Gregor <doug.gregor@gmail.com> | Tue Aug 25 15:24:38 2009 +0000 |
tree | 601bdb2f6bcb48eecee02170ef56655a264a8449 | |
parent | 5d08ee6e8febc361c3bcf1468dabf749a6e2c584 [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 {