aboutsummaryrefslogtreecommitdiff
path: root/gcc/hash-map-tests.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/hash-map-tests.c')
-rw-r--r--gcc/hash-map-tests.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/hash-map-tests.c b/gcc/hash-map-tests.c
index 5888f25..f3b216b 100644
--- a/gcc/hash-map-tests.c
+++ b/gcc/hash-map-tests.c
@@ -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;