☰
Debian Codegraph
@
1:22.1.8-2
1:22.1.8-1
1:22.1.7-1
/
/
clang
/
test
/
CXX
/
class
/
class.mem
/
p5-0x.cpp
☽
☼
clang/test/CXX/class/class.mem/p5-0x.cpp
code
plain
raw
APACHE-2-LLVM-EXCEPTIONS
2003-2017 University of Illinois at Urbana-Champaign.
debian/copyright
1
// RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s
2
3
int f();
4
5
struct S
6
{
7
int a = f(); // ok
8
int b = g(); // expected-error {{use of undeclared identifier 'g'}}
9
};