Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
25117ab35c1a033846073183314c68ef07d1701a
/
.
/
test
/
CXX
/
class
/
class.nested.type
/
p1.cpp
blob: 4a04a448595c5628dd5b99758a493f2653510f10 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -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
;