aboutsummaryrefslogtreecommitdiffstats
path: root/util/system/compiler_ut.cpp
diff options
context:
space:
mode:
authormcheshkov <mcheshkov@yandex-team.ru>2022-02-10 16:46:15 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:15 +0300
commite9d19cec64684c9c1e6b0c98297e5b895cf904fe (patch)
tree2768b1223e96a8a0610a93d18425d9647c1123c8 /util/system/compiler_ut.cpp
parent60040c91ffe701a84689b2c6310ff845e65cff42 (diff)
downloadydb-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.cpp26
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