]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/Parser/CompoundStmtScope.c
Vendor import of clang release_38 branch r258549:
[FreeBSD/FreeBSD.git] / test / Parser / CompoundStmtScope.c
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
2
3 void foo() {
4   {
5     typedef float X;
6   }
7   X Y;  // expected-error {{use of undeclared identifier}}
8 }