Sign in
cobalt
/
cobalt
/
37ef7f8c0c60f95c9821b4d9f3273c9ef3666a79
/
.
/
src
/
third_party
/
llvm-project
/
clang
/
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}}