diff --git a/clang/test/CXX/temp/temp.decls/temp.variadic/metafunctions.cpp b/clang/test/CXX/temp/temp.decls/temp.variadic/metafunctions.cpp index c0a9eb6cd6e3..69f6b46c2816 100644 --- a/clang/test/CXX/temp/temp.decls/temp.variadic/metafunctions.cpp +++ b/clang/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 {