Skip to content

Commit 487420c

Browse files
committed
[libc++] Move some standard tests from test/libcxx
1 parent 37fe7a9 commit 487420c

File tree

14 files changed

+33
-334
lines changed

14 files changed

+33
-334
lines changed

libcxx/test/libcxx/language.support/support.c.headers/support.c.headers.other/math.lerp.verify.cpp

Lines changed: 0 additions & 39 deletions
This file was deleted.

libcxx/test/libcxx/utilities/meta/stress_tests/stress_test_is_same.sh.cpp

Lines changed: 0 additions & 55 deletions
This file was deleted.

libcxx/test/libcxx/utilities/meta/stress_tests/stress_test_metafunctions.sh.cpp

Lines changed: 0 additions & 65 deletions
This file was deleted.

libcxx/test/libcxx/utilities/meta/stress_tests/stress_test_variant_overloads_impl.sh.cpp

Lines changed: 0 additions & 119 deletions
This file was deleted.

libcxx/test/libcxx/utilities/template.bitset/includes.pass.cpp

Lines changed: 0 additions & 33 deletions
This file was deleted.
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
//===----------------------------------------------------------------------===//
2+
//
3+
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4+
// See https://llvm.org/LICENSE.txt for license information.
5+
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6+
//
7+
//===----------------------------------------------------------------------===//
8+
9+
// <math.h>
10+
11+
// [support.c.headers.other]/1
12+
// ... except for the functions described in [sf.cmath], the
13+
// std::lerp function overloads ([c.math.lerp]) ...
14+
15+
#include <cassert>
16+
#include <math.h>
17+
18+
template <class = int>
19+
int lerp(float, float, float) { return 32; }
20+
21+
template <class = int>
22+
int lerp(double, double, double) { return 32; }
23+
24+
template <class = int>
25+
int lerp(long double, long double, long double) { return 32; }
26+
27+
int main(int, char**) {
28+
assert(lerp(0.f, 0.f, 0.f) == 32);
29+
assert(lerp(0., 0., 0.) == 32);
30+
assert(lerp(0.l, 0.l, 0.l) == 32);
31+
32+
return 0;
33+
}

libcxx/test/std/thread/thread.threads/thread.thread.this/sleep_for_tested_elsewhere.pass.cpp

Lines changed: 0 additions & 22 deletions
This file was deleted.

libcxx/test/libcxx/vendor/ibm/bad_function_call.pass.cpp renamed to libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.badcall/visibility_inlines_hidden.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
// REQUIRES: target={{.+}}-aix{{.*}}
109
// ADDITIONAL_COMPILE_FLAGS: -fvisibility-inlines-hidden
1110

1211
// When there is a weak hidden symbol in user code and a strong definition

0 commit comments

Comments
 (0)