1fd7481e96de307dd0e43c96d5b025b7c779f72d7Marshall Clow//===----------------------------------------------------------------------===// 2fd7481e96de307dd0e43c96d5b025b7c779f72d7Marshall Clow// 3fd7481e96de307dd0e43c96d5b025b7c779f72d7Marshall Clow// The LLVM Compiler Infrastructure 4fd7481e96de307dd0e43c96d5b025b7c779f72d7Marshall Clow// 5fd7481e96de307dd0e43c96d5b025b7c779f72d7Marshall Clow// This file is dual licensed under the MIT and the University of Illinois Open 6fd7481e96de307dd0e43c96d5b025b7c779f72d7Marshall Clow// Source Licenses. See LICENSE.TXT for details. 7fd7481e96de307dd0e43c96d5b025b7c779f72d7Marshall Clow// 8fd7481e96de307dd0e43c96d5b025b7c779f72d7Marshall Clow//===----------------------------------------------------------------------===// 9fd7481e96de307dd0e43c96d5b025b7c779f72d7Marshall Clow 10fd7481e96de307dd0e43c96d5b025b7c779f72d7Marshall Clow#include <memory> 11fd7481e96de307dd0e43c96d5b025b7c779f72d7Marshall Clow#include <string> 12fd7481e96de307dd0e43c96d5b025b7c779f72d7Marshall Clow#include <cassert> 13fd7481e96de307dd0e43c96d5b025b7c779f72d7Marshall Clow 14fd7481e96de307dd0e43c96d5b025b7c779f72d7Marshall Clowint main() 15fd7481e96de307dd0e43c96d5b025b7c779f72d7Marshall Clow{ 16fd7481e96de307dd0e43c96d5b025b7c779f72d7Marshall Clow auto up1 = std::make_unique<std::string[]>("error"); // doesn't compile - no bound 17fd7481e96de307dd0e43c96d5b025b7c779f72d7Marshall Clow} 18