aboutsummaryrefslogtreecommitdiff
path: root/contrib/devtools/bitcoin-tidy/example_nontrivial-threadlocal.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/devtools/bitcoin-tidy/example_nontrivial-threadlocal.cpp')
-rw-r--r--contrib/devtools/bitcoin-tidy/example_nontrivial-threadlocal.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/devtools/bitcoin-tidy/example_nontrivial-threadlocal.cpp b/contrib/devtools/bitcoin-tidy/example_nontrivial-threadlocal.cpp
new file mode 100644
index 0000000000..2b74df5d0e
--- /dev/null
+++ b/contrib/devtools/bitcoin-tidy/example_nontrivial-threadlocal.cpp
@@ -0,0 +1,2 @@
+#include <string>
+thread_local std::string foo;