diff options
author | mcheshkov <mcheshkov@yandex-team.ru> | 2022-02-10 16:46:16 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:16 +0300 |
commit | 1312621288956f199a5bd5342b0133d4395fa725 (patch) | |
tree | 1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /util/system/compiler_ut.cpp | |
parent | e9d19cec64684c9c1e6b0c98297e5b895cf904fe (diff) | |
download | ydb-1312621288956f199a5bd5342b0133d4395fa725.tar.gz |
Restoring authorship annotation for <mcheshkov@yandex-team.ru>. Commit 2 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 5ab8d6b76f9..f93b1c08507 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 |