summaryrefslogtreecommitdiffstats
path: root/clang/test/CXX/expr/expr.post/expr.call/p7-0x.cpp
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2013-08-13 22:26:42 +0000
committerEli Friedman <eli.friedman@gmail.com>2013-08-13 22:26:42 +0000
commit4e28b26589016fa9b8f94224af7b7c108447017f (patch)
treecb4513d8eb51ad7ad4d7ec1ab27003c1f76c79a5 /clang/test/CXX/expr/expr.post/expr.call/p7-0x.cpp
parent76ff1d915c9c42823a3f2b08ff936cf7a48933c5 (diff)
downloadbcm5719-llvm-4e28b26589016fa9b8f94224af7b7c108447017f.tar.gz
bcm5719-llvm-4e28b26589016fa9b8f94224af7b7c108447017f.zip
sizeof(void) etc. should be a hard error in C++.
PR16872. llvm-svn: 188324
Diffstat (limited to 'clang/test/CXX/expr/expr.post/expr.call/p7-0x.cpp')
-rw-r--r--clang/test/CXX/expr/expr.post/expr.call/p7-0x.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CXX/expr/expr.post/expr.call/p7-0x.cpp b/clang/test/CXX/expr/expr.post/expr.call/p7-0x.cpp
index c77c47df244..fbb685c5a44 100644
--- a/clang/test/CXX/expr/expr.post/expr.call/p7-0x.cpp
+++ b/clang/test/CXX/expr/expr.post/expr.call/p7-0x.cpp
@@ -38,7 +38,7 @@ namespace PR11131 {
S &getS();
- void f(...);
+ int f(...);
void g() {
(void)sizeof(f(getS()));
OpenPOWER on IntegriCloud