Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.old-deja / g++.other / dll-3.C
blobd2784bca8d7c217dd3e4a02c5c2eaea6bd679a58
1 // { dg-do assemble { target arm-*-*pe } }
2 // { dg-options "-mno-nop-fun-dllimport" }
3 // set compiler_result "__imp_f1.*\.section${spaces}.drectve\n\[^\n\]*-export:f2"
4 // set not_compiler_result "__imp_f2"
6 class aClass 
7
8 public: 
9   __declspec(dllimport) int f1(); 
10   __declspec(dllexport) int f2(); 
11 }; 
13 __declspec(dllexport) int aClass::f2() 
14
15   return f1(); 
16