diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-02-17 18:51:14 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-02-17 18:51:14 +0000 |
commit | 2846584793cd8ed3c02b4555c3d09d216dbdcc1c (patch) | |
tree | 6c7f90d4c8f3543ec0dc456d2a943fa042ec2dfd | |
parent | d60f2fbf69df08e952377b498c036f269395024d (diff) |
Proof that attribute __overloadable__ works as well as overloadable
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64781 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/Sema/overloadable.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Sema/overloadable.c b/test/Sema/overloadable.c index 040b7faf7c..afac741070 100644 --- a/test/Sema/overloadable.c +++ b/test/Sema/overloadable.c @@ -27,7 +27,7 @@ void test_funcptr(int (*f1)(int, double), 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) { |