diff options
author | iaz1607 <iaz1607@yandex-team.ru> | 2022-02-10 16:45:37 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:37 +0300 |
commit | e5437feb4ac2d2dc044e1090b9312dde5ef197e0 (patch) | |
tree | f5a238c69dd20a1fa2092127a31b8aff25020f7d /util/system/compiler_ut.cpp | |
parent | f4945d0a44b8770f0801de3056aa41639b0b7bd2 (diff) | |
download | ydb-e5437feb4ac2d2dc044e1090b9312dde5ef197e0.tar.gz |
Restoring authorship annotation for <iaz1607@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/system/compiler_ut.cpp')
-rw-r--r-- | util/system/compiler_ut.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/util/system/compiler_ut.cpp b/util/system/compiler_ut.cpp index f93b1c0850..317376f984 100644 --- a/util/system/compiler_ut.cpp +++ b/util/system/compiler_ut.cpp @@ -24,14 +24,14 @@ Y_UNIT_TEST_SUITE(TCompilerTest) { // define function with unused named parameter // and there will be no warning for this - int Foo(int a) { + int Foo(int a) { return 0; } Y_PRAGMA_DIAGNOSTIC_POP Y_UNIT_TEST(TestPragmaNoUnusedParameter) { - UNIT_ASSERT_EQUAL(Foo(1), 0); + UNIT_ASSERT_EQUAL(Foo(1), 0); } Y_UNIT_TEST(TestHaveInt128) { @@ -56,7 +56,7 @@ Y_UNIT_TEST_SUITE(TCompilerTest) { } // define deprecated function - [[deprecated]] void Bar() { + [[deprecated]] void Bar() { return; } @@ -65,7 +65,7 @@ Y_UNIT_TEST_SUITE(TCompilerTest) { Y_PRAGMA_NO_DEPRECATED // will be compiled without errors - Bar(); + Bar(); Y_PRAGMA_DIAGNOSTIC_POP } |