From: Douglas Gregor Date: Mon, 3 Jan 2011 21:56:22 +0000 (+0000) Subject: Add a test that is currently failing X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=69e5aed635946419d85a6be8639260e2eb476cb1;p=clang Add a test that is currently failing git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@122780 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CXX/temp/temp.decls/temp.variadic/metafunctions.cpp b/test/CXX/temp/temp.decls/temp.variadic/metafunctions.cpp index c0a9eb6cd6..69f6b46c28 100644 --- a/test/CXX/temp/temp.decls/temp.variadic/metafunctions.cpp +++ b/test/CXX/temp/temp.decls/temp.variadic/metafunctions.cpp @@ -105,6 +105,20 @@ namespace Math { }; int check3[sum<1, 2, 3, 4, 5>::value == 15? 1 : -1]; + +#if 0 + // FIXME: Instantiation of this fails. + template + struct lazy_sum { + int operator()() { + return sum::value; + } + }; + + void f() { + lazy_sum<1, 2, 3, 4, 5>()(); + } +#endif } namespace Indices {