diff --git a/clang/test/Interpreter/simple-exception.cpp b/clang/test/Interpreter/simple-exception.cpp index 886b8ffd2d7017..8741886a0a621c 100644 --- a/clang/test/Interpreter/simple-exception.cpp +++ b/clang/test/Interpreter/simple-exception.cpp @@ -3,6 +3,11 @@ // XFAIL for arm, arm64, riscv, or running on Windows. // XFAIL: target={{(arm|riscv).*}}, system-windows // RUN: cat %s | clang-repl | FileCheck %s + +// Incompatible with msan. It passes with -O3 but fail -Oz. Interpreter +// generates non-instrumented code, which may call back to instrumented. +// UNSUPPORTED: msan + extern "C" int printf(const char *, ...); int f() { throw "Simple exception"; return 0; }