Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:31:51

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