dependent-expr2.c
来自「Mac OS X 10.4.9 for x86 Source Code gcc」· C语言 代码 · 共 24 行
C
24 行
// { dg-do compile }// Copyright (C) 2003 Free Software Foundation, Inc.// Contributed by Nathan Sidwell 2 Aug 2003 <nathan@codesourcery.com>// PR 11704. ICEstruct A { int foo() { return 5; }};template <class T> // If B is not template it worksstruct B{ bool bar(A& a) { return a.foo == 0; // { dg-error "insufficient context" "" } }};
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?