]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/analyzer/sm-pattern-test.cc
analyzer: introduce namespace to avoid ODR clashes (PR 93307)
[thirdparty/gcc.git] / gcc / analyzer / sm-pattern-test.cc
index 571e13eb47cde53491028eb1f4facaeaf9908ab3..cac78e7c041e0849312866a446248e00d3ffe1cc 100644 (file)
@@ -39,6 +39,8 @@ along with GCC; see the file COPYING3.  If not see
 
 #if ENABLE_ANALYZER
 
+namespace ana {
+
 namespace {
 
 /* A state machine for use in DejaGnu tests, to check that
@@ -149,4 +151,6 @@ make_pattern_test_state_machine (logger *logger)
   return new pattern_test_state_machine (logger);
 }
 
+} // namespace ana
+
 #endif /* #if ENABLE_ANALYZER */