From 0798d1e5b0a09564b127ae7d26d8c1ea1bc9adad Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Sun, 11 Jan 2015 18:43:31 +0100 Subject: [PATCH] Features: Extend the generalized_initializers test for GNU < 4.7. That compiler requires a different initializer_list constructor, so update the test to match. --- Tests/CompileFeatures/cxx_generalized_initializers.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Tests/CompileFeatures/cxx_generalized_initializers.cpp b/Tests/CompileFeatures/cxx_generalized_initializers.cpp index 8013ef5c2..7bf356b63 100644 --- a/Tests/CompileFeatures/cxx_generalized_initializers.cpp +++ b/Tests/CompileFeatures/cxx_generalized_initializers.cpp @@ -8,6 +8,7 @@ namespace std { const _E* __begin_; size_t __size_; + initializer_list(const int*, long unsigned int) {} }; }