linux下的gcc编译器

源代码在线查看: using2.c

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

相关代码

				// { dg-do run }								// Copyright (C) 2002 Free Software Foundation, Inc.				// Contributed by Nathan Sidwell 15 Sep 2002 								// PR 7919. Methods found via using decls didn't have their this				// pointers converted to the final base type.								struct Base {				  int m;				  protected:				  void *Return () { return this; }				};								struct Derived : Base {				  using Base::Return;				  virtual ~Derived () {}				};								int main ()				{				  Derived d;				  				  return static_cast  (&d) != d.Return ();				}							

相关资源