[libcxx] [test] Make files consistently end with newlines, NFC.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@309465 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Stephan T. Lavavej
2017-07-29 00:55:22 +00:00
parent a686caad20
commit 25072f0004
16 changed files with 16 additions and 16 deletions

View File

@@ -164,4 +164,4 @@ void test_failing() {
int main() { int main() {
test_passing(); test_passing();
test_failing(); test_failing();
} }

View File

@@ -27,4 +27,4 @@ int main()
std::list<int> v2(3); std::list<int> v2(3);
v1.insert(v2.begin(), 4); v1.insert(v2.begin(), 4);
assert(false); assert(false);
} }

View File

@@ -71,4 +71,4 @@ int main() {
assert(false); assert(false);
} catch (int) {} } catch (int) {}
} }
} }

View File

@@ -134,4 +134,4 @@ int main() {
LazyNotTest(); LazyNotTest();
LazyAndTest(); LazyAndTest();
LazyOrTest(); LazyOrTest();
} }

View File

@@ -213,4 +213,4 @@ int main() {
TestCase<ArgType volatile>::run(); TestCase<ArgType volatile>::run();
TestCase<ArgType const volatile>::run(); TestCase<ArgType const volatile>::run();
TestCase<ArgType*>::run(); TestCase<ArgType*>::run();
} }

View File

@@ -68,4 +68,4 @@ int main() {
std::tuple<int const&> t4(std::allocator_arg, alloc, cr); std::tuple<int const&> t4(std::allocator_arg, alloc, cr);
assert(&std::get<0>(t4) == &x); assert(&std::get<0>(t4) == &x);
} }
} }

View File

@@ -189,4 +189,4 @@ int main()
assert(r->second.get() == 5); // value assert(r->second.get() == 5); // value
} }
} }

View File

@@ -24,4 +24,4 @@ int main() {
m->do_allocate(0, 0); // expected-error{{'do_allocate' is a protected member}} m->do_allocate(0, 0); // expected-error{{'do_allocate' is a protected member}}
m->do_deallocate(nullptr, 0, 0); // expected-error{{'do_deallocate' is a protected member}} m->do_deallocate(nullptr, 0, 0); // expected-error{{'do_deallocate' is a protected member}}
m->do_is_equal(*m); // expected-error{{'do_is_equal' is a protected member}} m->do_is_equal(*m); // expected-error{{'do_is_equal' is a protected member}}
} }

View File

@@ -29,4 +29,4 @@ int main () {
assert ( sv1.size() == s.size()); assert ( sv1.size() == s.size());
assert ( sv1.data() == s.data()); assert ( sv1.data() == s.data());
} }
} }

View File

@@ -31,4 +31,4 @@ int main() {
static_assert(b == std::align_val_t(32), ""); static_assert(b == std::align_val_t(32), "");
static_assert(static_cast<std::size_t>(c) == (std::size_t)-1, ""); static_assert(static_cast<std::size_t>(c) == (std::size_t)-1, "");
} }
} }

View File

@@ -29,4 +29,4 @@ int main () {
assert ( sv1.size() == s.size()); assert ( sv1.size() == s.size());
assert ( sv1.data() == s.data()); assert ( sv1.data() == s.data());
} }
} }

View File

@@ -36,4 +36,4 @@ int main() {
#if defined(__cpp_lib_invoke) #if defined(__cpp_lib_invoke)
assert(std::invoke(foo, 101) == 42); assert(std::invoke(foo, 101) == 42);
#endif #endif
} }

View File

@@ -112,4 +112,4 @@ int main()
{ {
test_counted(); test_counted();
test_value_initialized(); test_value_initialized();
} }

View File

@@ -111,4 +111,4 @@ void test_counted()
int main() { int main() {
test_counted(); test_counted();
test_ctor_throws(); test_ctor_throws();
} }

View File

@@ -114,4 +114,4 @@ int main()
{ {
test_counted(); test_counted();
test_ctor_throws(); test_ctor_throws();
} }

View File

@@ -39,4 +39,4 @@ template <class Tp, class ...Args>
constexpr bool test_convertible() constexpr bool test_convertible()
{ return detail::test_convertible_imp<Tp, Args...>(0); } { return detail::test_convertible_imp<Tp, Args...>(0); }
#endif // SUPPORT_TEST_CONVERTIBLE_HPP #endif // SUPPORT_TEST_CONVERTIBLE_HPP