summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/default2.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-12-20 22:01:25 +0000
committerDouglas Gregor <dgregor@apple.com>2009-12-20 22:01:25 +0000
commit39c778b44348c530ef7487915f60e823d2fbc383 (patch)
treeb393891a51975dc24e935416913b4ea3dbe59fd0 /clang/test/SemaCXX/default2.cpp
parent1b6d10555ff70efcc44b8bf25d4755d88a15d48c (diff)
downloadbcm5719-llvm-39c778b44348c530ef7487915f60e823d2fbc383.tar.gz
bcm5719-llvm-39c778b44348c530ef7487915f60e823d2fbc383.zip
Switch default-initialization of variables of class type (or array thereof) over to InitializationSequence. I could swear that this fixes a PR somewhere, but I couldn't figure out which one
llvm-svn: 91796
Diffstat (limited to 'clang/test/SemaCXX/default2.cpp')
-rw-r--r--clang/test/SemaCXX/default2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/SemaCXX/default2.cpp b/clang/test/SemaCXX/default2.cpp
index 58f35dcec31..eda4be29192 100644
--- a/clang/test/SemaCXX/default2.cpp
+++ b/clang/test/SemaCXX/default2.cpp
@@ -82,7 +82,7 @@ int Y::mem4(int i = a) // expected-error{{invalid use of nonstatic data member '
// constructors.
class Z {
public:
- Z(Z&, int i = 17); // expected-note 2 {{candidate function}}
+ Z(Z&, int i = 17); // expected-note 3 {{candidate function}}
void f(Z& z) {
Z z2; // expected-error{{no matching constructor for initialization}}
OpenPOWER on IntegriCloud