[PATCH 5/57][Arm][GAS] Add support for MVE instructions: vmull{b,t}
[binutils-gdb.git] / gdb / testsuite / gdb.base / enum_cond.c
blob23f9a17b7c814e6a00124952f49b812b9769076f
1 /* This testcase is part of GDB, the GNU debugger.
2 Copyright 2012-2019 Free Software Foundation, Inc.
4 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation; either version 3 of the License, or
7 (at your option) any later version.
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
14 You should have received a copy of the GNU General Public License
15 along with this program. If not, see <http://www.gnu.org/licenses/>. */
17 enum EE
19 VALUE = 1
22 struct x
24 unsigned char before;
25 enum EE e;
26 unsigned char after;
30 int
31 call_me (struct x param)
33 return param.e;
36 int
37 main (void)
39 struct x val;
41 val.before = 0xff;
42 val.e = VALUE;
43 val.after = 0xff;
45 call_me (val);
46 return 0;