diff options
author | mcheshkov <mcheshkov@yandex-team.ru> | 2022-02-10 16:46:15 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:15 +0300 |
commit | e9d19cec64684c9c1e6b0c98297e5b895cf904fe (patch) | |
tree | 2768b1223e96a8a0610a93d18425d9647c1123c8 /util/system/compiler_ut.cpp | |
parent | 60040c91ffe701a84689b2c6310ff845e65cff42 (diff) | |
download | ydb-e9d19cec64684c9c1e6b0c98297e5b895cf904fe.tar.gz |
Restoring authorship annotation for <mcheshkov@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/system/compiler_ut.cpp')
-rw-r--r-- | util/system/compiler_ut.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/util/system/compiler_ut.cpp b/util/system/compiler_ut.cpp index f93b1c0850..5ab8d6b76f 100644 --- a/util/system/compiler_ut.cpp +++ b/util/system/compiler_ut.cpp @@ -19,21 +19,21 @@ Y_UNIT_TEST_SUITE(TCompilerTest) { Y_PRAGMA_DIAGNOSTIC_POP } - Y_PRAGMA_DIAGNOSTIC_PUSH - Y_PRAGMA_NO_UNUSED_PARAMETER - - // define function with unused named parameter - // and there will be no warning for this + Y_PRAGMA_DIAGNOSTIC_PUSH + Y_PRAGMA_NO_UNUSED_PARAMETER + + // define function with unused named parameter + // and there will be no warning for this int Foo(int a) { - return 0; - } - - Y_PRAGMA_DIAGNOSTIC_POP - - Y_UNIT_TEST(TestPragmaNoUnusedParameter) { + return 0; + } + + Y_PRAGMA_DIAGNOSTIC_POP + + Y_UNIT_TEST(TestPragmaNoUnusedParameter) { UNIT_ASSERT_EQUAL(Foo(1), 0); - } - + } + Y_UNIT_TEST(TestHaveInt128) { #ifdef Y_HAVE_INT128 // will be compiled without errors |