summaryrefslogtreecommitdiffstats
path: root/Tests/CompileFeatures
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-01-11 17:43:31 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-01-15 21:13:22 (GMT)
commit0798d1e5b0a09564b127ae7d26d8c1ea1bc9adad (patch)
treecac9edbe4125c5255a992ac6995a0ad9923a5c41 /Tests/CompileFeatures
parent938bd94eb0b34e1b5be12dcceaab641efc8a7e43 (diff)
downloadCMake-0798d1e5b0a09564b127ae7d26d8c1ea1bc9adad.zip
CMake-0798d1e5b0a09564b127ae7d26d8c1ea1bc9adad.tar.gz
CMake-0798d1e5b0a09564b127ae7d26d8c1ea1bc9adad.tar.bz2
Features: Extend the generalized_initializers test for GNU < 4.7.
That compiler requires a different initializer_list constructor, so update the test to match.
Diffstat (limited to 'Tests/CompileFeatures')
-rw-r--r--Tests/CompileFeatures/cxx_generalized_initializers.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/CompileFeatures/cxx_generalized_initializers.cpp b/Tests/CompileFeatures/cxx_generalized_initializers.cpp
index 8013ef5..7bf356b 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) {}
};
}