linux下的gcc编译器

源代码在线查看: ptrmem5.c

软件大小: 30755 K
上传用户: xfzzp_0321
关键词: linux gcc 编译器
下载地址: 免注册下载 普通下载 VIP

相关代码

				// Bug: g++ doesn't see that A is a vbase of C.				// Submitted by Jason Merrill 				// Build don't link:								struct A {				  int i;				  void f ();				};								struct B: public A { };				struct C: public virtual B { };								void g ()				{				  int C::*p = &A::i;		// ERROR - conversion from vbase				  void (C::*fp)() = &A::f;	// ERROR - conversion from vbase				}							

相关资源