aboutsummaryrefslogtreecommitdiff
path: root/test/Parser/CompoundStmtScope.c
blob: 4f991031d0c3a598f6ce41087cc015f994e8b42c (plain)
1
2
3
4
5
6
7
8
// RUN: %clang_cc1 -fsyntax-only -verify %s

void foo() {
  {
    typedef float X;
  }
  X Y;  // expected-error {{use of undeclared identifier}}
}