test to pass group as attribute to gccxml
[libt2n] / examples / minimalistic-server.cpp
index 46cb9ec..1b5e3a2 100644 (file)
@@ -5,8 +5,6 @@
  ***************************************************************************/
 
 #include <string>
-#include <stdexcept>
-
 #include "minimalistic-stub.hxx"
 
 #include <socket_server.hxx>
@@ -14,7 +12,7 @@
 
 using namespace std;
 
-LIBT2P_EXPORT string testfunc(const string& str) 
+LIBT2N_EXPORT_GROUP(example) string testfunc(const string& str) 
 {
     string ret;
     if (str=="throw")