Upload Tizen:Base source
[external/binutils.git] / gas / testsuite / gas / macros / altmacro.s
1 # Check use of LOCAL directive inside .altmacro.
2 # Test derived from PR 11507.
3
4         .altmacro
5         
6         .macro ABC              
7                 .print "local "
8         .endm
9
10         .macro DEF
11                 LOCAL fred
12                 .print "fred"
13         .endm
14
15 # This one is just being perverse, but it should work.
16         .macro GHI
17                 local local
18                 .print "local"
19         .endm
20
21         
22         ABC
23
24         DEF
25
26         GHI