mirror of
https://github.com/catchorg/Catch2.git
synced 2025-08-01 21:05:39 +02:00
Add -Wmissing-variable-declarations to common warnings
This commit is contained in:
@@ -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__)
|
||||
|
Reference in New Issue
Block a user