https://gcc.gnu.org/g:a8e07f98dfaa0f61db84a80ee77c5b4f964a4428

commit r15-6209-ga8e07f98dfaa0f61db84a80ee77c5b4f964a4428
Author: Jakub Jelinek <ja...@redhat.com>
Date:   Fri Dec 13 09:40:50 2024 +0100

    testsuite: Fix typo in directive names
    
    Some directives in the test were #errror rather than #error.
    
    2024-12-13  Jakub Jelinek  <ja...@redhat.com>
    
            * c-c++-common/cpp/embed-1.c: Use #error rather than #errror.

Diff:
---
 gcc/testsuite/c-c++-common/cpp/embed-1.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/gcc/testsuite/c-c++-common/cpp/embed-1.c 
b/gcc/testsuite/c-c++-common/cpp/embed-1.c
index 8d6f0cc2ee35..aaf6670dc615 100644
--- a/gcc/testsuite/c-c++-common/cpp/embed-1.c
+++ b/gcc/testsuite/c-c++-common/cpp/embed-1.c
@@ -51,14 +51,14 @@
 #endif
 
 #if __has_embed ("embed-1.c" limit (0)) != __STDC_EMBED_EMPTY__
-#errror "__has_embed fail"
+#error "__has_embed fail"
 #endif
 
 #define E1 "embed-1.c"
 #define E2 limit (
 #define E3 1)
 #if __has_embed (E1 E2 E3) != __STDC_EMBED_FOUND__
-#errror "__has_embed fail"
+#error "__has_embed fail"
 #endif
 
 #if __has_embed (<embed-1.c>) != __STDC_EMBED_NOT_FOUND__
@@ -77,19 +77,19 @@ E6 \
 #endif
 
 #if __has_embed ("embed-1.inc") != __STDC_EMBED_FOUND__
-#errror "__has_embed fail"
+#error "__has_embed fail"
 #endif
 
 #if __has_embed ( "embed-1.inc" __limit__ ( 7 - 7 ) ) != __STDC_EMBED_EMPTY__
-#errror "__has_embed fail"
+#error "__has_embed fail"
 #endif
 
 #if __has_embed (<embed-1.inc>) != __STDC_EMBED_FOUND__
-#errror "__has_embed fail"
+#error "__has_embed fail"
 #endif
 
 #if __has_embed (<embed-1.inc> limit(0)) != __STDC_EMBED_EMPTY__
-#errror "__has_embed fail"
+#error "__has_embed fail"
 #endif
 
 #if __has_embed ("../empty.h") != __STDC_EMBED_EMPTY__

Reply via email to