blob: 86d28e60e52b73bda3cd52c046085325b732ef5c [file] [log] [blame]
Marshall Clowca0be232013-07-23 17:05:24 +00001// -*- C++ -*-
2//===----------------------------------------------------------------------===//
3//
4// The LLVM Compiler Infrastructure
5//
6// This file is dual licensed under the MIT and the University of Illinois Open
7// Source Licenses. See LICENSE.TXT for details.
8//
9//===----------------------------------------------------------------------===//
10#include <string>
11#include <cassert>
12
13int main()
14{
15#if _LIBCPP_STD_VER > 11
16 using namespace std::literals::string_literals;
17
Howard Hinnantd0987132013-08-07 19:39:48 +000018 std::string foo = ""s;
Marshall Clowca0be232013-07-23 17:05:24 +000019#endif
20}