OSDN Git Service

2007-02-20 Benjamin Kosnik <bkoz@redhat.com>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / testsuite / 27_io / basic_ifstream / requirements / base_classes.cc
@@ -1,3 +1,4 @@
+// { dg-do compile }
 // 2003-03-26 B enjamin Kosnik  <bkoz@redhat.com>
 
 // Copyright (C) 2003 Free Software Foundation, Inc.
@@ -32,12 +33,6 @@ void test01()
   const base_type* base __attribute__((unused)) = &obj;
 }
 
-int main()
-{
-  test01();
-  return 0;
-}
-
 // more surf!!!