Blame elf/tst-glibc-hwcaps-mask.c

Packit Service 358832
/* Test that --glibc-hwcaps-mask works.
Packit Service 358832
   Copyright (C) 2020 Free Software Foundation, Inc.
Packit Service 358832
   This file is part of the GNU C Library.
Packit Service 358832
Packit Service 358832
   The GNU C Library is free software; you can redistribute it and/or
Packit Service 358832
   modify it under the terms of the GNU Lesser General Public
Packit Service 358832
   License as published by the Free Software Foundation; either
Packit Service 358832
   version 2.1 of the License, or (at your option) any later version.
Packit Service 358832
Packit Service 358832
   The GNU C Library is distributed in the hope that it will be useful,
Packit Service 358832
   but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit Service 358832
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit Service 358832
   Lesser General Public License for more details.
Packit Service 358832
Packit Service 358832
   You should have received a copy of the GNU Lesser General Public
Packit Service 358832
   License along with the GNU C Library; if not, see
Packit Service 358832
   <https://www.gnu.org/licenses/>.  */
Packit Service 358832
Packit Service 358832
#include <support/check.h>
Packit Service 358832
Packit Service 358832
extern int marker1 (void);
Packit Service 358832
Packit Service 358832
static int
Packit Service 358832
do_test (void)
Packit Service 358832
{
Packit Service 358832
  /* The marker1 function in elf/markermod1.so returns 1.  */
Packit Service 358832
  TEST_COMPARE (marker1 (), 1);
Packit Service 358832
  return 0;
Packit Service 358832
}
Packit Service 358832
Packit Service 358832
#include <support/test-driver.c>