Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
7a614d8380297fcd2bc23986241905d97222948c
/
.
/
test
/
CXX
/
class
/
class.mem
/
p5-0x.cpp
blob: 78560e2d5daafda33efea49edbe1a5ad50de9ba2 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -fsyntax-only -verify -std=c++0x %s
int
f
();
struct
S
{
int
a
=
f
();
// ok
int
b
=
g
();
// expected-error {{use of undeclared identifier 'g'}}
};