aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp/init.c')
-rw-r--r--gcc/cp/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/init.c b/gcc/cp/init.c
index 609747f..34c22fe 100644
--- a/gcc/cp/init.c
+++ b/gcc/cp/init.c
@@ -3039,7 +3039,7 @@ build_delete (tree type, tree addr, special_function_kind auto_delete,
"delete operator:"))
{
cxx_incomplete_type_diagnostic (addr, type, DK_WARNING);
- inform ("neither the destructor nor the class-specific "
+ inform (input_location, "neither the destructor nor the class-specific "
"operator delete will be called, even if they are "
"declared when the class is defined.");
}