summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.creation/tie.pass.cpp
diff options
context:
space:
mode:
authorMarshall Clow <mclow.lists@gmail.com>2017-01-23 18:00:15 +0000
committerMarshall Clow <mclow.lists@gmail.com>2017-01-23 18:00:15 +0000
commit7a7d4cdb9086131d3a79695d1c4b6a1abe62c638 (patch)
tree5f96fa419ba6f904d4596d00efe0db4302c7f5b1 /libcxx/test/std/utilities/tuple/tuple.tuple/tuple.creation/tie.pass.cpp
parentfaebbf7e4d3fd76a0333a0db0bee64254f257093 (diff)
downloadbcm5719-llvm-7a7d4cdb9086131d3a79695d1c4b6a1abe62c638.tar.gz
bcm5719-llvm-7a7d4cdb9086131d3a79695d1c4b6a1abe62c638.zip
Revert previous cleanup; I got too agressive removing #ifdefs
llvm-svn: 292809
Diffstat (limited to 'libcxx/test/std/utilities/tuple/tuple.tuple/tuple.creation/tie.pass.cpp')
-rw-r--r--libcxx/test/std/utilities/tuple/tuple.tuple/tuple.creation/tie.pass.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.creation/tie.pass.cpp b/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.creation/tie.pass.cpp
index ed443b163b8..c4c3c242d8f 100644
--- a/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.creation/tie.pass.cpp
+++ b/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.creation/tie.pass.cpp
@@ -31,6 +31,7 @@ int main()
assert(i == 42);
assert(s == "C++");
}
+#if TEST_STD_VER > 11
{
static constexpr int i = 42;
static constexpr double f = 1.1;
@@ -38,4 +39,5 @@ int main()
static_assert ( std::get<0>(t) == 42, "" );
static_assert ( std::get<1>(t) == 1.1, "" );
}
+#endif
}
OpenPOWER on IntegriCloud