diff options
Diffstat (limited to 'test/Parser/cxx-reference.cpp')
-rw-r--r-- | test/Parser/cxx-reference.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Parser/cxx-reference.cpp b/test/Parser/cxx-reference.cpp index d21412c..b62638b 100644 --- a/test/Parser/cxx-reference.cpp +++ b/test/Parser/cxx-reference.cpp @@ -10,7 +10,7 @@ void foo(int &a) { typedef int & A; -void g(const A aref) { +void g(const A aref) { // expected-warning {{'const' qualifier on reference type 'A' (aka 'int &') has no effect}} } int & const X = val; // expected-error {{'const' qualifier may not be applied to a reference}} |