comparison clang/test/Parser/CompoundStmtScope.c @ 150:1d019706d866

LLVM10
author anatofuz
date Thu, 13 Feb 2020 15:10:13 +0900
parents
children c4bab56944e8
comparison
equal deleted inserted replaced
147:c2174574ed3a 150:1d019706d866
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 }