From 6811c0b5f3fb2ef8a408366ba322cc857f9ab4e9 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Sun, 27 May 2007 10:16:12 +0000 Subject: [PATCH] Bug #: Submitted by: Bill Wendling Reviewed by: C++ references testcase. llvm-svn: 39497 --- clang/test/Parser/cxx-reference.cpp | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 clang/test/Parser/cxx-reference.cpp diff --git a/clang/test/Parser/cxx-reference.cpp b/clang/test/Parser/cxx-reference.cpp new file mode 100644 index 000000000000..154abc68d597 --- /dev/null +++ b/clang/test/Parser/cxx-reference.cpp @@ -0,0 +1,6 @@ +// RUN: clang -fsyntax-only %s +extern char *bork; +char *& bar = bork; + +void foo(int &a) { +}