commit | 1669ab022ba6200bdbdfb4199dbae250325e8353 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Tue Mar 18 05:15:16 2025 -0700 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Tue Mar 18 05:15:16 2025 -0700 |
tree | cea05d0cba19e655549c1606455497f02f329896 | |
parent | c5b2e6df441556aad705ec5a81c7cb4971e554be [diff] | |
parent | 6fc9aa7bcbef2c41bd8451aac298f3a71d5252ad [diff] |
Merge "fortify_test.cpp: _FORTIFY_SOURCE=3 should be a superset of 2." into main
diff --git a/tests/fortify_test.cpp b/tests/fortify_test.cpp index ee71f03..fd1680b 100644 --- a/tests/fortify_test.cpp +++ b/tests/fortify_test.cpp
@@ -43,7 +43,7 @@ using DEATHTEST = SilentDeathTest; -#if defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE == 2 +#if defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE >= 2 struct foo { char empty[0]; char one[1];