Skip to content

Commit ea5e61e

Browse files
committed
Make .compile.pass.cpp
1 parent c493de9 commit ea5e61e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/has_unique_object_representations.pass.cpp renamed to libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/has_unique_object_representations.compile.pass.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ class NTTP_ClassType_WithoutPadding {
6767
int x;
6868
};
6969

70-
int main(int, char**) {
70+
void test() {
7171
test<false, void>();
7272
test<false, Empty>();
7373
test<false, EmptyUnion>();
@@ -103,6 +103,4 @@ int main(int, char**) {
103103
test<true, NTTP_ClassType_WithoutPadding<0>[][3]>();
104104
test<true, NTTP_ClassType_WithoutPadding<0>>();
105105
}
106-
107-
return 0;
108106
}

0 commit comments

Comments
 (0)