diff --git a/gcc/testsuite/gfortran.dg/char_length_10.f90 b/gcc/testsuite/gfortran.dg/char_length_10.f90
index 23bb37ff4fd60ff37016236f8f45b41d101f544d..07f10df9896795decca32982e8be1f7fddd1c0f8 100644
--- a/gcc/testsuite/gfortran.dg/char_length_10.f90
+++ b/gcc/testsuite/gfortran.dg/char_length_10.f90
@@ -1,4 +1,4 @@
-{ dg-do compile }
+! { dg-do compile }
 ! Checks the fix for PR33241, in which the assumed character
 ! length of the parameter was never filled in with that of
 ! the initializer.