aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/x86/tst-wcsncmp-rtm.c
diff options
context:
space:
mode:
authorRaoni Fassina Firmino <raoni@linux.ibm.com>2022-02-25 10:57:31 -0300
committerRaoni Fassina Firmino <raoni@linux.ibm.com>2022-02-25 10:57:31 -0300
commit0d6fdf9f0590f090651716b729ca5db2f1b9d620 (patch)
treeebe6dbc1ac10368fa8a781cccf52a92c7246d008 /sysdeps/x86/tst-wcsncmp-rtm.c
parent6bbd88c2511fa62d4b682b24bfda8dcb0af39e50 (diff)
parenta79bc55e5be07d797d77b63fc0018eb515ae7049 (diff)
downloadglibc-0d6fdf9f0590f090651716b729ca5db2f1b9d620.zip
glibc-0d6fdf9f0590f090651716b729ca5db2f1b9d620.tar.gz
glibc-0d6fdf9f0590f090651716b729ca5db2f1b9d620.tar.bz2
Merge branch release/2.30/master into ibm/2.30/masteribm/2.30/master
Diffstat (limited to 'sysdeps/x86/tst-wcsncmp-rtm.c')
-rw-r--r--sysdeps/x86/tst-wcsncmp-rtm.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/sysdeps/x86/tst-wcsncmp-rtm.c b/sysdeps/x86/tst-wcsncmp-rtm.c
new file mode 100644
index 0000000..bad3b86
--- /dev/null
+++ b/sysdeps/x86/tst-wcsncmp-rtm.c
@@ -0,0 +1,21 @@
+/* Test case for wcsncmp inside a transactionally executing RTM region.
+ Copyright (C) 2022 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+
+ The GNU C Library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+
+ The GNU C Library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with the GNU C Library; if not, see
+ <https://www.gnu.org/licenses/>. */
+
+#define WIDE 1
+#include <wchar.h>
+#include "tst-strncmp-rtm.c"