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