Skip to content

Commit

Permalink
#1: add namespace to avoid problems
Browse files Browse the repository at this point in the history
  • Loading branch information
lifflander committed Aug 9, 2021
1 parent 58338ff commit aa7f4a3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/test.cc
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@

#include <cstddef>

namespace {

namespace std {
struct string {
string(char const* str) {}
Expand Down Expand Up @@ -145,3 +147,5 @@ int main2() {
test2();
return 0;
}

}

0 comments on commit aa7f4a3

Please sign in to comment.