llvm-project/clang/test/FixIt/no-typo.c

7 lines
162 B
C

// RUN: %clang_cc1 -fsyntax-only -fno-spell-checking -verify %s
typedef struct {
float x, y;
} Point;
point p1; // expected-error{{unknown type name 'point'}}