diff options
Diffstat (limited to 'tests/clang_fortify_tests.cpp')
-rw-r--r-- | tests/clang_fortify_tests.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/clang_fortify_tests.cpp b/tests/clang_fortify_tests.cpp index 1b6b898d5..692330278 100644 --- a/tests/clang_fortify_tests.cpp +++ b/tests/clang_fortify_tests.cpp @@ -36,6 +36,11 @@ // Similarly, there are a few overload tricks we have to emit errors. Ignore any notes from those. // expected-note@* 0+{{candidate function}} +// FIXME(b/138701943): Silence warnings produced by -Wfortify-source since they're expected. +// expected-warning@* 0+{{will always overflow}} +// expected-warning@* 0+{{size argument is too large}} +// expected-note@* 0+{{has been explicitly marked unavailable here}} + #ifndef _FORTIFY_SOURCE #error "_FORTIFY_SOURCE must be defined" #endif |