Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-12-19 04:04:57

0001 
0002 #include <string>
0003 
0004 namespace edmplugin {
0005 
0006   template <class R>
0007   class PluginFactory {};
0008 }  // namespace edmplugin
0009 
0010 namespace edm {
0011 
0012   typedef edmplugin::PluginFactory<int> InputSourcePluginFactory;
0013 }
0014 
0015 // is ok, because const-qualified
0016 const static int g_staticConst = 23;
0017 
0018 // results in a warning by GlobalStaticChecker
0019 static int g_static;
0020 
0021 // results in a warning by GlobalStaticChecker
0022 static edm::InputSourcePluginFactory g_static_edm_namespace;
0023 
0024 int main() {
0025   g_static = 23;
0026 
0027   return 0;
0028 }