llvm-capstone/clang/test/FixIt/no-typo.c
Douglas Gregor 8ed0c0b99d Introduce -f{no-}spell-checking options to enable/disable
spell-checking. By default, spell-checking is enabled for Clang
(obviously) but disabled in CIndex for performance reasons.

llvm-svn: 107992
2010-07-09 17:35:33 +00:00

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'}}