linkage1.c
来自「this is a gcc file, you can download it 」· C语言 代码 · 共 22 行
C
22 行
// Copyright 2002 Free Software Foundation// Derived by Alexandre Oliva <aoliva@redhat.com> from code posted by// Mark Mitchell <mark@codesourcery.com>// Build don't run:// Additional sources: linkage1-main.cc// Verify that a member of a class is given global linkage when it's a// member of a function whose name is taken from a typedef, by// checking that another translation unit can call it. We don't do// the right things on functions, but we do on data members.// excess errors test - XFAIL *-*-*typedef struct { void f();} S;void S::f() {}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?