]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/21_strings/basic_string/insert/char/1.cc
locale_facets.tcc: Tweak to avoid warnings.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 21_strings / basic_string / insert / char / 1.cc
index 919c8717b0acbaac11420f37b1113fd61d98b38a..e1c5402507598894be58ca9b6d3442e12a53af19 100644 (file)
 
 int test01(void)
 {
-  bool test = true;
+  bool test __attribute__((unused)) = true;
   typedef std::string::size_type csize_type;
   typedef std::string::iterator citerator;
-  csize_type npos = std::string::npos;
   csize_type csz01, csz02;
 
   const std::string str01("rodeo beach, marin");