Sign in
fuchsia
/
third_party
/
swift-clang
/
refs/tags/swift-DEVELOPMENT-SNAPSHOT-2016-09-30-a
/
.
/
test
/
CXX
/
dcl.dcl
/
dcl.spec
/
dcl.typedef
/
p3.cpp
blob: 28f49d0836475e5d8e29f0a2f0e305c8ff81d2dc [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -verify %s
typedef
struct
s
{
int
x
;
}
s
;
typedef
int
I
;
typedef
int
I2
;
typedef
I2 I
;
// expected-note {{previous definition is here}}
typedef
char
I
;
// expected-error {{typedef redefinition with different types}}