OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* lib/obj-c++.exp (obj-c++_target_compile): Declare global variable,
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
overload1.C
diff --git
a/gcc/testsuite/g++.old-deja/g++.other/overload1.C
b/gcc/testsuite/g++.old-deja/g++.other/overload1.C
index
dde6d4f
..
8a833aa
100644
(file)
--- a/
gcc/testsuite/g++.old-deja/g++.other/overload1.C
+++ b/
gcc/testsuite/g++.old-deja/g++.other/overload1.C
@@
-1,10
+1,11
@@
+// { dg-do run }
struct A {
A operator+ (int) const { return *this; }
};
A operator+ (A, float);
-main ()
+
int
main ()
{
A a;
a + 1;