Sign in
llvm
/
clang
/
refs/heads/release_26
/
.
/
test
/
CXX
/
dcl.dcl
/
dcl.spec
/
dcl.typedef
/
p3.cpp
blob: 867b4f03d41ff4832833e610b1e3dc9d9a89f16f [
file
] [
log
] [
blame
]
// RUN: clang-cc -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}}