diff options
| author | Martin Hořeňovský | 2022-05-02 12:51:46 +0200 |
|---|---|---|
| committer | Martin Hořeňovský | 2022-05-03 13:54:03 +0200 |
| commit | d2cb934d283bcaeb78ce9dec3f9755650db414ba (patch) | |
| tree | bd0ed52ec424fd2f90458c954297176608bcdb55 /tests/ExtraTests | |
| parent | 7752229105c85126712cb0b9d252a57c2ff79851 (diff) | |
| download | catch3-d2cb934d283bcaeb78ce9dec3f9755650db414ba.tar.gz | |
Add -Wmissing-variable-declarations to common warnings
Diffstat (limited to 'tests/ExtraTests')
| -rw-r--r-- | tests/ExtraTests/X02-DisabledMacros.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ExtraTests/X02-DisabledMacros.cpp b/tests/ExtraTests/X02-DisabledMacros.cpp index aea3b1a3..37d35e11 100644 --- a/tests/ExtraTests/X02-DisabledMacros.cpp +++ b/tests/ExtraTests/X02-DisabledMacros.cpp @@ -33,7 +33,7 @@ struct foo { #pragma clang diagnostic ignored "-Wglobal-constructors" #endif // Construct foo, but `foo::print` should not be run -foo f; +static foo f; #if defined(__clang__) |