Add the test that was supposed to be included with r223162.
authorKaelyn Takata <rikka@google.com>
Tue, 20 Jan 2015 20:15:29 +0000 (20:15 +0000)
committerKaelyn Takata <rikka@google.com>
Tue, 20 Jan 2015 20:15:29 +0000 (20:15 +0000)
commite7d3dfdb754b8c6bd999f272b9b4b70c2aef538f
tree737a78320f899e96dca2646fdae529e5725184df
parent734001c0a6d5c192ce13674bdc7f77e9635f486f
Add the test that was supposed to be included with r223162.

The test case is based on the reduction from PR21679 and has to be
freestanding to work correctly, since some of the expected errors (and
some of the problems that were fixed) only occur when the end of the
file is reached.

llvm-svn: 226603
clang/test/SemaCXX/PR21679.cpp [new file with mode: 0644]