diff options
author | John McCall <rjmccall@apple.com> | 2010-10-12 00:20:44 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2010-10-12 00:20:44 +0000 |
commit | 2a984cad5ac3fdceeff2bd99daa7b90979313475 (patch) | |
tree | 9cb40fa7371363f105210b4ac460508bb4dc5005 /test/SemaCXX/alignof-sizeof-reference.cpp | |
parent | fe8fdba52d89ea72aba6efbb6346394277224db4 (diff) |
Add some infrastructure for dealing with expressions of 'placeholder' type,
i.e. expressions with an internally-convenient type which should not be
appearing in generally valid, complete ASTs.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116281 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/SemaCXX/alignof-sizeof-reference.cpp')
-rw-r--r-- | test/SemaCXX/alignof-sizeof-reference.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/SemaCXX/alignof-sizeof-reference.cpp b/test/SemaCXX/alignof-sizeof-reference.cpp index dd64d6a23a..945129c26a 100644 --- a/test/SemaCXX/alignof-sizeof-reference.cpp +++ b/test/SemaCXX/alignof-sizeof-reference.cpp @@ -11,5 +11,5 @@ void test() { void f(); void f(int); void g() { - sizeof(&f); // expected-error{{invalid application of 'sizeof' to an overloaded function}} + sizeof(&f); // expected-error{{cannot determine the type of an overloaded function}} } |