[libc++] Flag file_clock test as expected to fail with ASAN
authorLouis Dionne <ldionne@apple.com>
Tue, 19 Mar 2019 21:53:32 +0000 (21:53 +0000)
committerLouis Dionne <ldionne@apple.com>
Tue, 19 Mar 2019 21:53:32 +0000 (21:53 +0000)
This silences a known issue, as can be seen by looking at similar
tests for other clocks, like time.clock.steady/consistency.pass.cpp.

llvm-svn: 356528

libcxx/test/std/utilities/time/time.clock/time.clock.file/consistency.pass.cpp

index 585433a..34244a8 100644 (file)
@@ -8,6 +8,10 @@
 //
 // UNSUPPORTED: c++98, c++03, c++11, c++14, c++17
 
+// Due to C++17 inline variables ASAN flags this test as containing an ODR
+// violation because Clock::is_steady is defined in both the dylib and this TU.
+// UNSUPPORTED: asan
+
 // <chrono>
 
 // file_clock