summaryrefslogtreecommitdiff
blob: 6148e232af9d215d324bbe569aaad75f3b79154b (plain)
1
2
3
4
5
6
7
8
9
10
11
https://github.com/ccache/ccache/pull/800
--- a/cmake/StdAtomic.cmake
+++ b/cmake/StdAtomic.cmake
@@ -10,6 +10,7 @@ set(
     int main()
     {
       std::atomic<long long> x;
+      ++x;
       (void)x.load();
       return 0;
     }