]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/hash-map-tests.c
PR c++/61339 - add mismatch between struct and class [-Wmismatched-tags] to non-bugs
[thirdparty/gcc.git] / gcc / hash-map-tests.c
index 5888f259b2077ce3e0c47db40c25ee6b53671edf..f3b216be07ca8304991cc17d8e1446667c2ef1ee 100644 (file)
@@ -103,8 +103,9 @@ test_map_of_strings_to_int ()
   ASSERT_EQ (1, string_map.elements ());
 }
 
-typedef struct hash_map_test_val_t
+typedef class hash_map_test_val_t
 {
+public:
   static int ndefault;
   static int ncopy;
   static int nassign;