Commit | Line | Data |
---|---|---|
ba8826a8 AO |
1 | /* Test view numbering zero-assert checking with zero-sized align. |
2 | ||
82704155 | 3 | Copyright (C) 2017-2019 Free Software Foundation, Inc. |
ba8826a8 AO |
4 | |
5 | This program is free software; you can redistribute it and/or modify | |
6 | it under the terms of the GNU General Public License as published by | |
7 | the Free Software Foundation; either version 3 of the License, or | |
8 | (at your option) any later version. | |
9 | ||
10 | This program is distributed in the hope that it will be useful, | |
11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
13 | GNU General Public License for more details. | |
14 | ||
15 | You should have received a copy of the GNU General Public License | |
16 | along with this program. If not, see <http://www.gnu.org/licenses/>. */ | |
17 | ||
18 | .file "dwarf2-10.c" | |
19 | .text | |
762172a4 | 20 | .balign 8 |
ba8826a8 AO |
21 | .globl _start |
22 | _start: | |
23 | .file 1 "dwarf2-10.c" | |
24 | .loc 1 1 view 0 | |
762172a4 | 25 | .balign 8 /* No skip needed here... */ |
ba8826a8 | 26 | .loc 1 2 view 0 /* so this zero-view check fails. */ |
762172a4 | 27 | .quad 0 |
ba8826a8 | 28 | .loc 1 3 view 0 |
762172a4 | 29 | .balign 16 /* Skip 8 more bytes after .quad... */ |
ba8826a8 | 30 | .loc 1 4 view 0 /* so this is a zero view indeed. */ |
762172a4 | 31 | .quad 0 |
ba8826a8 | 32 | .size _start, .-_start |