diff options
author | Mehdi Amini <mehdi.amini@apple.com> | 2017-03-03 17:24:29 +0000 |
---|---|---|
committer | Mehdi Amini <mehdi.amini@apple.com> | 2017-03-03 17:24:29 +0000 |
commit | dff33c2760e91d02e7f280aa6b615bb64195ac8d (patch) | |
tree | 48fd4ff7f3781935c5bb61b910e0bb1a093aea07 /libcxx/test/std/input.output | |
parent | b6e1aa58fd226c1c1e87c8f8ca4f133503afa0a2 (diff) | |
download | bcm5719-llvm-dff33c2760e91d02e7f280aa6b615bb64195ac8d.tar.gz bcm5719-llvm-dff33c2760e91d02e7f280aa6b615bb64195ac8d.zip |
Fix libc++ test to pass in C++03 mode
Was hitting: "error: scalar initializer cannot be empty"
llvm-svn: 296889
Diffstat (limited to 'libcxx/test/std/input.output')
-rw-r--r-- | libcxx/test/std/input.output/file.streams/c.files/cstdio.pass.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/test/std/input.output/file.streams/c.files/cstdio.pass.cpp b/libcxx/test/std/input.output/file.streams/c.files/cstdio.pass.cpp index 5df8691ef1f..1f1b0c3faa5 100644 --- a/libcxx/test/std/input.output/file.streams/c.files/cstdio.pass.cpp +++ b/libcxx/test/std/input.output/file.streams/c.files/cstdio.pass.cpp @@ -89,7 +89,7 @@ int main() { std::FILE* fp = 0; - std::fpos_t fpos = {}; + std::fpos_t fpos = std::fpos_t(); std::size_t s = 0; char* cp = 0; std::va_list va; |