rename -parse-ast-dump to -ast-dump remove -parse-ast, which is redundant with -fsyntax-only llvm-svn: 42852
9 lines
142 B
C
9 lines
142 B
C
// RUN: clang -fsyntax-only -verify %s
|
|
|
|
int foo() {
|
|
{
|
|
typedef float X;
|
|
}
|
|
X Y; // expected-error {{use of undeclared identifier}}
|
|
}
|