Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
toolchain
/
llvm-project
/
c6bba3e46d572fb00bc98b930d9057f25cde0f13
/
.
/
clang
/
test
/
CXX
/
class
/
class.mem
/
p5-0x.cpp
blob: 78560e2d5daafda33efea49edbe1a5ad50de9ba2 [
file
] [
log
] [
blame
]
Richard Smith
938f40b
2011-06-11 17:19:42 +0000
[
diff
] [
blame
]
1
// RUN: %clang_cc1 -fsyntax-only -verify -std=c++0x %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
};