]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/27_io/basic_filebuf/overflow/char/2.cc
locale_facets.tcc: Tweak to avoid warnings.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 27_io / basic_filebuf / overflow / char / 2.cc
index 4984602703aab9320a2b34cf9c478ba1ff5eb3d1..f9c69f84e8674ee5a0764d8155e2ca38818cd588 100644 (file)
@@ -36,7 +36,7 @@ public:
 void test01()
 {
   using namespace std;
-  bool test = true;
+  bool test __attribute__((unused)) = true;
   typedef OverBuf::traits_type  traits_type;
 
   OverBuf fb;
@@ -46,7 +46,7 @@ void test01()
   fb.close();
 }
 
-main() 
+int main() 
 {
   test01();
   return 0;