1/* -*- coding: utf-8 -*- */
2
3/* This testcase is part of GDB, the GNU debugger.
4
5   Copyright 2017-2023 Free Software Foundation, Inc.
6
7   This program is free software; you can redistribute it and/or modify
8   it under the terms of the GNU General Public License as published by
9   the Free Software Foundation; either version 3 of the License, or
10   (at your option) any later version.
11
12   This program is distributed in the hope that it will be useful,
13   but WITHOUT ANY WARRANTY; without even the implied warranty of
14   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15   GNU General Public License for more details.
16
17   You should have received a copy of the GNU General Public License
18   along with this program.  If not, see <http://www.gnu.org/licenses/>.
19*/
20
21/* UTF-8 "fun����o1".  */
22#define FUNCAO1 fun\u00e7\u00e3o1
23
24/* UTF-8 "fun����o2".  */
25#define FUNCAO2 fun\u00e7\u00e3o2
26
27/* UTF-8 "my_fun����o".  */
28#define MY_FUNCAO my_fun\u00e7\u00e3o
29
30/* UTF-8 "num_���".  */
31#define NUM_EUROS num_\u20ac
32
33struct S
34{
35  int NUM_EUROS;
36} g_s;
37
38void
39FUNCAO1 (void)
40{
41  g_s.NUM_EUROS = 1000;
42}
43
44void
45FUNCAO2 (void)
46{
47  g_s.NUM_EUROS = 1000;
48}
49
50void
51MY_FUNCAO (void)
52{
53}
54
55int NUM_EUROS = 2000;
56
57static void
58done ()
59{
60}
61
62int
63main ()
64{
65  FUNCAO1 ();
66  done ();
67  FUNCAO2 ();
68  MY_FUNCAO ();
69
70  return 0;
71}
72