summaryrefslogtreecommitdiff
path: root/test/SemaCXX/warn-everthing.cpp
diff options
context:
space:
mode:
authorAaron Puchert <aaron.puchert@sap.com>2019-06-18 23:40:17 +0000
committerAaron Puchert <aaron.puchert@sap.com>2019-06-18 23:40:17 +0000
commita5a3d7323ce4fa7ea798c50b6a08e1b9cf594ff2 (patch)
tree5f4113b1be0929dbb51ccd722ad352294b45b26f /test/SemaCXX/warn-everthing.cpp
parent3d4f3f8617a779371e1fd86356e64f47dfa851e6 (diff)
downloadclang-a5a3d7323ce4fa7ea798c50b6a08e1b9cf594ff2.tar.gz
Fix tests after r363749
We changed -Wmissing-prototypes there, which was used in these tests via -Weverything. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@363754 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/SemaCXX/warn-everthing.cpp')
-rw-r--r--test/SemaCXX/warn-everthing.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/SemaCXX/warn-everthing.cpp b/test/SemaCXX/warn-everthing.cpp
index ff66c78cdf..a6f2278eee 100644
--- a/test/SemaCXX/warn-everthing.cpp
+++ b/test/SemaCXX/warn-everthing.cpp
@@ -9,5 +9,6 @@ public:
};
void testPR12271() { // expected-warning {{no previous prototype for function 'testPR12271'}}
+// expected-note@-1{{declare 'static' if the function is not intended to be used outside of this translation unit}}
PR12271 a[1][1];
}