[cfe-commits] r79989 - /cfe/trunk/test/SemaTemplate/default-expr-arguments.cpp
Douglas Gregor
dgregor at apple.com
Tue Aug 25 08:24:38 PDT 2009
Author: dgregor
Date: Tue Aug 25 10:24:38 2009
New Revision: 79989
URL: http://llvm.org/viewvc/llvm-project?rev=79989&view=rev
Log:
Add a little more testing for default arguments of constructors in a class template
Modified:
cfe/trunk/test/SemaTemplate/default-expr-arguments.cpp
Modified: cfe/trunk/test/SemaTemplate/default-expr-arguments.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaTemplate/default-expr-arguments.cpp?rev=79989&r1=79988&r2=79989&view=diff
==============================================================================
--- cfe/trunk/test/SemaTemplate/default-expr-arguments.cpp (original)
+++ cfe/trunk/test/SemaTemplate/default-expr-arguments.cpp Tue Aug 25 10:24:38 2009
@@ -23,8 +23,11 @@
F(T t = 10);
};
+struct FD : F<int> { };
+
void g2() {
F<int> f;
+ FD fd;
}
template<typename T> struct G {
More information about the cfe-commits
mailing list