forked from OSchip/llvm-project
Add a little more testing for default arguments of constructors in a class template
llvm-svn: 79989
This commit is contained in:
parent
be96bc94e8
commit
7315672a60
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue