From 39fcc9a984e2820e4ea0fa2ac4abd17d9f3a31df Mon Sep 17 00:00:00 2001 From: dim Date: Sun, 20 Feb 2011 13:06:31 +0000 Subject: Vendor import of clang trunk r126079: http://llvm.org/svn/llvm-project/cfe/trunk@126079 --- test/CodeCompletion/stdin.c | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 test/CodeCompletion/stdin.c (limited to 'test/CodeCompletion/stdin.c') diff --git a/test/CodeCompletion/stdin.c b/test/CodeCompletion/stdin.c new file mode 100644 index 0000000..46495b2 --- /dev/null +++ b/test/CodeCompletion/stdin.c @@ -0,0 +1,7 @@ +enum X { x }; +enum Y { y }; + +enum + // RUN: %clang_cc1 -fsyntax-only -code-completion-at=-:4:6 < %s -o - | FileCheck -check-prefix=CC1 %s + // CHECK-CC1: X + // CHECK-CC1: Y -- cgit v1.1