Skip to content

Commit c54292e

Browse files
committed
remove more declarations of local Except structs
1 parent ebaccf9 commit c54292e

File tree

6 files changed

+0
-12
lines changed

6 files changed

+0
-12
lines changed

libcxx/test/std/utilities/expected/expected.expected/ctor/ctor.inplace_init_list.pass.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,6 @@ constexpr bool test() {
102102

103103
void testException() {
104104
#ifndef TEST_HAS_NO_EXCEPTIONS
105-
struct Except {};
106-
107105
struct Throwing {
108106
Throwing(std::initializer_list<int>, int) { throw Except{}; };
109107
};

libcxx/test/std/utilities/expected/expected.expected/ctor/ctor.u.pass.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,6 @@ constexpr bool test() {
157157

158158
void testException() {
159159
#ifndef TEST_HAS_NO_EXCEPTIONS
160-
struct Except {};
161-
162160
struct Throwing {
163161
Throwing(int) { throw Except{}; };
164162
};

libcxx/test/std/utilities/expected/expected.expected/ctor/ctor.unexpect.pass.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,6 @@ constexpr bool test() {
115115

116116
void testException() {
117117
#ifndef TEST_HAS_NO_EXCEPTIONS
118-
struct Except {};
119-
120118
struct Throwing {
121119
Throwing(int) { throw Except{}; };
122120
};

libcxx/test/std/utilities/expected/expected.expected/ctor/ctor.unexpect_init_list.pass.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,6 @@ constexpr bool test() {
102102

103103
void testException() {
104104
#ifndef TEST_HAS_NO_EXCEPTIONS
105-
struct Except {};
106-
107105
struct Throwing {
108106
Throwing(std::initializer_list<int>, int) { throw Except{}; };
109107
};

libcxx/test/std/utilities/expected/expected.expected/ctor/ctor.unexpected.copy.pass.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,6 @@ constexpr bool test() {
6767

6868
void testException() {
6969
#ifndef TEST_HAS_NO_EXCEPTIONS
70-
struct Except {};
71-
7270
struct Throwing {
7371
Throwing(int) { throw Except{}; }
7472
};

libcxx/test/std/utilities/expected/expected.expected/ctor/ctor.unexpected.move.pass.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,6 @@ constexpr bool test() {
7777

7878
void testException() {
7979
#ifndef TEST_HAS_NO_EXCEPTIONS
80-
struct Except {};
81-
8280
struct Throwing {
8381
Throwing(int) { throw Except{}; }
8482
};

0 commit comments

Comments
 (0)