Skip to content

Commit 67274bb

Browse files
committed
Renamed types
1 parent ad90ac1 commit 67274bb

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/common.h

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,18 +47,19 @@ class Abstract {
4747

4848
#if TEST_STD_VER >= 23
4949

50-
struct NonPOD {
51-
NonPOD(int);
50+
class NonPODClass {
51+
public:
52+
NonPODClass(int);
5253
};
5354
enum Enum { EV };
54-
struct POD {
55+
struct Base {
5556
Enum e;
5657
int i;
5758
float f;
58-
NonPOD* p;
59+
NonPODClass* p;
5960
};
6061
// Not PODs
61-
struct Derives : POD {};
62+
struct Derived : Base {};
6263

6364
template <class T, class RefType = T&>
6465
class ConvertsToRef {

libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/reference_constructs_from_temporary.pass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ constexpr bool test() {
6767
test_reference_constructs_from_temporary<const int&, long, true>();
6868

6969
// Additional checks
70-
test_reference_constructs_from_temporary<const POD&, Derives, true>();
70+
test_reference_constructs_from_temporary<const Base&, Derived, true>();
7171
test_reference_constructs_from_temporary<int&&, int, true>();
7272
test_reference_constructs_from_temporary<const int&, int, true>();
7373
test_reference_constructs_from_temporary<int&&, int&&, false>();

libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/reference_converts_from_temporary.pass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ constexpr bool test() {
6767
test_reference_converts_from_temporary<const int&, long, true>();
6868

6969
// Additional checks
70-
test_reference_converts_from_temporary<const POD&, Derives, true>();
70+
test_reference_converts_from_temporary<const Base&, Derived, true>();
7171
test_reference_converts_from_temporary<int&&, int, true>();
7272
test_reference_converts_from_temporary<const int&, int, true>();
7373
test_reference_converts_from_temporary<int&&, int&&, false>();

0 commit comments

Comments
 (0)