]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/testsuite/g++.dg/plugin/attribute_plugin.c
tree-core.h (struct attribute_spec): Swap affects_type_identity and handler fields.
[thirdparty/gcc.git] / gcc / testsuite / g++.dg / plugin / attribute_plugin.c
index 8de5f44cbf8721521fc20b491a63b5c8af1b7feb..8bdaca77086f4e73683f73c5b6400e22f4cbb29c 100644 (file)
@@ -26,7 +26,7 @@ handle_user_attribute (tree *node, tree name, tree args,
 /* Attribute definition */
 
 static struct attribute_spec user_attr =
-  { "user", 1, 1, false,  false, false, handle_user_attribute, false };
+  { "user", 1, 1, false,  false, false, false, handle_user_attribute, NULL };
 
 /* Plugin callback called during attribute registration */