llvm-for-llvmta/tools/clang/test/FixIt/no-typo.c

7 lines
162 B
C
Raw Normal View History

2022-04-25 13:02:35 +02:00
// RUN: %clang_cc1 -fsyntax-only -fno-spell-checking -verify %s
typedef struct {
float x, y;
} Point;
point p1; // expected-error{{unknown type name 'point'}}