diff options
Diffstat (limited to 'gcc/testsuite/g++.dg/modules/shadow-1_b.C')
-rw-r--r-- | gcc/testsuite/g++.dg/modules/shadow-1_b.C | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gcc/testsuite/g++.dg/modules/shadow-1_b.C b/gcc/testsuite/g++.dg/modules/shadow-1_b.C index 646381237ac..7f6a3182998 100644 --- a/gcc/testsuite/g++.dg/modules/shadow-1_b.C +++ b/gcc/testsuite/g++.dg/modules/shadow-1_b.C @@ -1,8 +1,5 @@ // { dg-additional-options -fmodules-ts } import shadow; -// unfortunately not the exact same diagnostic in both cases :( - void stat (); // { dg-error "conflicts with import" } - -struct stat {}; // { dg-error "in a different module" } +struct stat {}; // { dg-error "conflicts with import" } |