summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2013-11-26 16:14:15 +0000
committerAaron Ballman <aaron@aaronballman.com>2013-11-26 16:14:15 +0000
commite89849f12f1bd6947ddf368bea6b6308a46b4574 (patch)
treeaba8eb828927642e0954e2cfa5b3bc9500db6d76 /test
parent3f6e1030dea4a03a92c3d2af1aaa3cafdeaad1b5 (diff)
downloadclang-e89849f12f1bd6947ddf368bea6b6308a46b4574.tar.gz
Replacing a custom diagnostic with a more standard one. No functional change intended.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195770 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/Sema/overloadable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Sema/overloadable.c b/test/Sema/overloadable.c
index b93c39fc1a..bdd471477b 100644
--- a/test/Sema/overloadable.c
+++ b/test/Sema/overloadable.c
@@ -1,6 +1,6 @@
// RUN: %clang_cc1 -fsyntax-only -verify %s
-int var __attribute__((overloadable)); // expected-error{{'overloadable' attribute can only be applied to a function}}
+int var __attribute__((overloadable)); // expected-error{{'overloadable' attribute only applies to functions}}
void params(void) __attribute__((overloadable(12))); // expected-error {{'overloadable' attribute takes no arguments}}
int *f(int) __attribute__((overloadable)); // expected-note 2{{previous overload of function is here}}