14 lines
267 B
C++
Raw Normal View History

// The demo shows the Fix-it hints that try to guess what the user had meant
// when he did the error
// Author: Vassil Vassilev <vvasilev@cern.ch>
struct Point {
float x;
float y;
};
void FixItHints() {
struct Point origin = { x: 0.0, y: 0.0 };
floot p;
}