Author: dgregor
Date: Mon Jan 3 15:56:22 2011
New Revision: 122780
URL: http://llvm.org/viewvc/llvm-project?rev=122780&view=rev
Log:
Add a test that is currently failing
Modified:
cfe/trunk/test/CXX/temp/temp.decls/temp.variadic/metafunctions.cpp
Modified: cfe/trunk/test/CXX/temp/temp.decls/temp.variadic/metafunctions.cpp
URL:
http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CXX/temp/temp.decls/temp.variadic/metafunctions.cpp?rev=122780&r1=122779&r2=122780&view=diff
==============================================================================
--- cfe/trunk/test/CXX/temp/temp.decls/temp.variadic/metafunctions.cpp
(original)
+++ cfe/trunk/test/CXX/temp/temp.decls/temp.variadic/metafunctions.cpp Mon Jan
3 15:56:22 2011
@@ -105,6 +105,20 @@
};
int check3[sum<1, 2, 3, 4, 5>::value == 15? 1 : -1];
+
+#if 0
+ // FIXME: Instantiation of this fails.
+ template<int ... Values>
+ struct lazy_sum {
+ int operator()() {
+ return sum<Values...>::value;
+ }
+ };
+
+ void f() {
+ lazy_sum<1, 2, 3, 4, 5>()();
+ }
+#endif
}
namespace Indices {
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits