summaryrefslogtreecommitdiffstats
path: root/test/SemaCXX/unused-functions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaCXX/unused-functions.cpp')
-rw-r--r--test/SemaCXX/unused-functions.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/SemaCXX/unused-functions.cpp b/test/SemaCXX/unused-functions.cpp
index 3598082..d05ff4d 100644
--- a/test/SemaCXX/unused-functions.cpp
+++ b/test/SemaCXX/unused-functions.cpp
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -std=c++11 -fsyntax-only -Wunused -verify %s
+// expected-no-diagnostics
static int foo(int x) { return x; }
OpenPOWER on IntegriCloud