Commit | Line | Data |
---|---|---|
09124467 ILT |
1 | V1 { |
2 | global: | |
3 | extern "C++" | |
4 | { | |
5 | "bar()"; | |
10600224 | 6 | "baz(int*)"; |
09124467 ILT |
7 | }; |
8 | foo; | |
9 | blaza*; | |
10 | bar*; | |
10600224 ILT |
11 | # Make sure we parse "extern" when it's not first thing in the section. |
12 | extern "C++" | |
13 | { | |
14 | myns::*; | |
15 | }; | |
09124467 ILT |
16 | # Would be a keyword in a linker script. |
17 | SECTIONS; | |
18 | sizeof_headers; | |
19 | # Crazy globbiness | |
afe47622 | 20 | glob*f[^A-Zo]st?ff; |
09124467 ILT |
21 | |
22 | local: | |
23 | *foo*; | |
24 | }; | |
25 | ||
26 | V2 { | |
27 | global: | |
28 | extern "C++" { | |
29 | otherns::stuff; | |
30 | }; | |
31 | blaz*; | |
55a93433 ILT |
32 | local: |
33 | _[^A-Z]*; | |
09124467 | 34 | } V1; |