[cfe-commits] r64781 - /cfe/trunk/test/Sema/overloadable.c
Douglas Gregor
dgregor at apple.com
Tue Feb 17 10:51:14 PST 2009
Author: dgregor
Date: Tue Feb 17 12:51:14 2009
New Revision: 64781
URL: http://llvm.org/viewvc/llvm-project?rev=64781&view=rev
Log:
Proof that attribute __overloadable__ works as well as overloadable
Modified:
cfe/trunk/test/Sema/overloadable.c
Modified: cfe/trunk/test/Sema/overloadable.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/overloadable.c?rev=64781&r1=64780&r2=64781&view=diff
==============================================================================
--- cfe/trunk/test/Sema/overloadable.c (original)
+++ cfe/trunk/test/Sema/overloadable.c Tue Feb 17 12:51:14 2009
@@ -27,7 +27,7 @@
struct X { int x; float y; };
struct Y { int x; float y; };
-int* accept_struct(struct X x) __attribute__((overloadable));
+int* accept_struct(struct X x) __attribute__((__overloadable__));
float* accept_struct(struct Y y) __attribute__((overloadable));
void test_struct(struct X x, struct Y y) {
More information about the cfe-commits
mailing list