mirror of
https://github.com/autc04/Retro68.git
synced 2024-11-24 07:31:32 +00:00
35 lines
519 B
Plaintext
35 lines
519 B
Plaintext
|
V1 {
|
||
|
global:
|
||
|
extern "C++"
|
||
|
{
|
||
|
"bar()";
|
||
|
"baz(int*)";
|
||
|
};
|
||
|
foo;
|
||
|
blaza*;
|
||
|
bar*;
|
||
|
# Make sure we parse "extern" when it's not first thing in the section.
|
||
|
extern "C++"
|
||
|
{
|
||
|
myns::*;
|
||
|
};
|
||
|
# Would be a keyword in a linker script.
|
||
|
SECTIONS;
|
||
|
sizeof_headers;
|
||
|
# Crazy globbiness
|
||
|
glob*f[^A-Zo]st?ff;
|
||
|
|
||
|
local:
|
||
|
*foo*;
|
||
|
};
|
||
|
|
||
|
V2 {
|
||
|
global:
|
||
|
extern "C++" {
|
||
|
otherns::stuff;
|
||
|
};
|
||
|
blaz*;
|
||
|
local:
|
||
|
_[^A-Z]*;
|
||
|
} V1;
|