Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
84834432289a810e713f82f1ed94a99ad8a5c2ea
/
.
/
test
/
CXX
/
class
/
class.nested.type
/
p1.cpp
blob: 61ccd281ca937e9293ac43fd60c081b22a28e15e [
file
] [
log
] [
blame
]
// RUN: clang-cc -fsyntax-only -verify %s
class
X
{
public
:
typedef
int
I
;
class
Y
{
};
I a
;
};
I b
;
// expected-error{{unknown type name 'I'}}
Y c
;
// expected-error{{unknown type name 'Y'}}
X
::
Y d
;
X
::
I e
;