OSDN Git Service

2007-02-20 Benjamin Kosnik <bkoz@redhat.com>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / testsuite / 27_io / basic_stringbuf / requirements / typedefs.cc
@@ -1,3 +1,4 @@
+// { dg-do compile }
 // 2002-07-25 Benjamin Kosnik <bkoz@redhat.com>
 
 // Copyright (C) 2002, 2003 Free Software Foundation, Inc.
@@ -33,8 +34,6 @@
 #include <sstream>
 #include <testsuite_hooks.h>
 
-// { dg-do compile }
-
 // libstdc++/7216
 void test01()
 {
@@ -46,9 +45,3 @@ void test01()
   typedef test_type::pos_type pos_type;
   typedef test_type::off_type off_type;
 }
-
-int main() 
-{
-  test01();
-  return 0;
-}