Add a little more testing for default arguments of constructors in a class template

llvm-svn: 79989
This commit is contained in:
Douglas Gregor 2009-08-25 15:24:38 +00:00
parent be96bc94e8
commit 7315672a60
1 changed files with 3 additions and 0 deletions

View File

@ -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 {