summaryrefslogtreecommitdiffstats
path: root/libcxx/test/algorithms
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2014-05-29 14:58:38 +0000
committerNico Weber <nicolasweber@gmx.de>2014-05-29 14:58:38 +0000
commitded9de598171e9c1367646a342f1957dd61c3aec (patch)
treebd5ec3328b7e3c32d9ebf443b2df96e024963470 /libcxx/test/algorithms
parent50c1532a1af9061041f1c1722422aec517237a1a (diff)
downloadbcm5719-llvm-ded9de598171e9c1367646a342f1957dd61c3aec.tar.gz
bcm5719-llvm-ded9de598171e9c1367646a342f1957dd61c3aec.zip
fix typo
llvm-svn: 209819
Diffstat (limited to 'libcxx/test/algorithms')
-rw-r--r--libcxx/test/algorithms/alg.sorting/alg.min.max/minmax.pass.cpp2
-rw-r--r--libcxx/test/algorithms/alg.sorting/alg.min.max/minmax_comp.pass.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/test/algorithms/alg.sorting/alg.min.max/minmax.pass.cpp b/libcxx/test/algorithms/alg.sorting/alg.min.max/minmax.pass.cpp
index 1774ffd7af6..6ac972a2547 100644
--- a/libcxx/test/algorithms/alg.sorting/alg.min.max/minmax.pass.cpp
+++ b/libcxx/test/algorithms/alg.sorting/alg.min.max/minmax.pass.cpp
@@ -48,7 +48,7 @@ int main()
#if _LIBCPP_STD_VER > 11
{
// Note that you can't take a reference to a local var, since
-// it's address is not a compile-time constant.
+// its address is not a compile-time constant.
constexpr static int x = 1;
constexpr static int y = 0;
constexpr auto p1 = std::minmax (x, y);
diff --git a/libcxx/test/algorithms/alg.sorting/alg.min.max/minmax_comp.pass.cpp b/libcxx/test/algorithms/alg.sorting/alg.min.max/minmax_comp.pass.cpp
index 66b2e7808cd..771c8f84a74 100644
--- a/libcxx/test/algorithms/alg.sorting/alg.min.max/minmax_comp.pass.cpp
+++ b/libcxx/test/algorithms/alg.sorting/alg.min.max/minmax_comp.pass.cpp
@@ -51,7 +51,7 @@ int main()
#if _LIBCPP_STD_VER > 11
{
// Note that you can't take a reference to a local var, since
-// it's address is not a compile-time constant.
+// its address is not a compile-time constant.
constexpr static int x = 1;
constexpr static int y = 0;
constexpr auto p1 = std::minmax(x, y, std::greater<>());
OpenPOWER on IntegriCloud