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) { +}