mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-02 12:19:54 -05:00
Features: Add support for C++14 features.
Record the features implemented by GNU 4.9 and Clang 3.4.
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
|
||||
struct X { int i, j, k = 42; };
|
||||
|
||||
int someFunc()
|
||||
{
|
||||
X a[] = { 1, 2, 3, 4, 5, 6 };
|
||||
X b[2] = { { 1, 2, 3 }, { 4, 5, 6 } };
|
||||
return a[0].k == b[0].k && a[1].k == b[1].k ? 0 : 1;
|
||||
}
|
||||
Reference in New Issue
Block a user