Commit e4df9be4 by Jakub Jelinek Committed by Jakub Jelinek

re PR c++/30277 (bit-field: wrong overload resolution)

	PR c++/30277
	* g++.dg/expr/bitfield14.C (struct S): Use signed long long instead
	of signed long.
	(foo): Use long long instead of long.

From-SVN: r276021
parent 6bd2a4f3
2019-09-21 Jakub Jelinek <jakub@redhat.com>
PR c++/30277
* g++.dg/expr/bitfield14.C (struct S): Use signed long long instead
of signed long.
(foo): Use long long instead of long.
2019-09-21 Marek Polacek <polacek@redhat.com> 2019-09-21 Marek Polacek <polacek@redhat.com>
DR 2345 - Jumping across initializers in init-statements and conditions. DR 2345 - Jumping across initializers in init-statements and conditions.
......
...@@ -3,10 +3,10 @@ ...@@ -3,10 +3,10 @@
struct S struct S
{ {
signed long l: 32; signed long long l: 32;
}; };
void foo(long) = delete; void foo(long long) = delete;
void foo(int) {} void foo(int) {}
int main() int main()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment