Sign in
llvm
/
llvm-archive
/
9ee4ded126524dc671b998a7c57f4d2433ee9d20
/
.
/
safecode
/
tools
/
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}}