diff options
| author | David Majnemer <david.majnemer@gmail.com> | 2014-06-18 23:26:25 +0000 |
|---|---|---|
| committer | David Majnemer <david.majnemer@gmail.com> | 2014-06-18 23:26:25 +0000 |
| commit | 5b63fa02b2fa6e7981706cec53e8d725cbba0752 (patch) | |
| tree | cd8476ba7ce2e8792c7ed6a1c23aa792ccc05237 /clang/test/Misc | |
| parent | 1ad83a35b1d5566bc633437dd17faba8af745627 (diff) | |
| download | bcm5719-llvm-5b63fa02b2fa6e7981706cec53e8d725cbba0752.tar.gz bcm5719-llvm-5b63fa02b2fa6e7981706cec53e8d725cbba0752.zip | |
Sema: Static redeclaration after extern declarations is a Microsoft Extension
CL permits static redeclarations to follow extern declarations. The
storage specifier on the latter declaration has no effect.
This fixes PR20034.
Differential Revision: http://reviews.llvm.org/D4149
llvm-svn: 211238
Diffstat (limited to 'clang/test/Misc')
| -rw-r--r-- | clang/test/Misc/warning-flags.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/test/Misc/warning-flags.c b/clang/test/Misc/warning-flags.c index 5a45172ed2a..b46e4fe39f6 100644 --- a/clang/test/Misc/warning-flags.c +++ b/clang/test/Misc/warning-flags.c @@ -18,7 +18,7 @@ This test serves two purposes: The list of warnings below should NEVER grow. It should gradually shrink to 0. -CHECK: Warnings without flags (106): +CHECK: Warnings without flags (105): CHECK-NEXT: ext_delete_void_ptr_operand CHECK-NEXT: ext_expected_semi_decl_list CHECK-NEXT: ext_explicit_specialization_storage_class @@ -114,7 +114,6 @@ CHECK-NEXT: warn_redeclaration_without_attribute_prev_attribute_ignored CHECK-NEXT: warn_register_objc_catch_parm CHECK-NEXT: warn_related_result_type_compatibility_class CHECK-NEXT: warn_related_result_type_compatibility_protocol -CHECK-NEXT: warn_static_non_static CHECK-NEXT: warn_template_export_unsupported CHECK-NEXT: warn_template_spec_extra_headers CHECK-NEXT: warn_tentative_incomplete_array |

