Page Menu
Home
Xreate
Search
Configure Global Search
Log In
Docs
Questions
Repository
Issues
Patches
Internal API
Files
F4866689
diagnostic-messages.cpp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sun, Sep 13, 5:14 PM
Size
562 B
Mime Type
text/x-c++
Expires
Tue, Sep 15, 5:14 PM (1 d, 9 h)
Engine
blob
Format
Raw Data
Handle
292580
Attached To
rXR Xreate
diagnostic-messages.cpp
View Options
/*
* diagnostic-messages.cpp
*
* Created on: Oct 27, 2015
* Author: pgess
*/
#include "gtest/gtest.h"
using namespace std;
TEST(Diagnostic_DFA, DISABLED_recursion1){
//Error while processing recursion, Should be some diagnostic complaints
std::string code = \
"test1 = function()::[int] {\n"
" varRecursion = loop map(varRecursion->el:: int)::[int]{\n"
" el\n"
" }.\n"
" \n"
" varRecursion\n"
"}";
PassManager* man = PassManager::prepareForCode(code);
DFGPass* pass = new DFGPass(man);
pass->run();
pass->finish();
}
Event Timeline
Log In to Comment