Page Menu
Home
Xreate
Search
Configure Global Search
Log In
Docs
Questions
Repository
Issues
Patches
Internal API
Files
F3999163
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
Thu, Jul 9, 1:41 AM
Size
649 B
Mime Type
text/x-c++
Expires
Sat, Jul 11, 1:41 AM (1 d, 6 h)
Engine
blob
Format
Raw Data
Handle
273057
Attached To
rXR Xreate
diagnostic-messages.cpp
View Options
/*
* diagnostic-messages.cpp
*
* Created on: Oct 27, 2015
* Author: pgess
*/
#include "passmanager.h"
#include "pass/dfgpass.h"
#include "gtest/gtest.h"
using namespace std;
using namespace xreate;
TEST(Diagnostic_DFA, DISABLED_recursion1){
//Error while processing recursion, There 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(move(code));
DFGPass* pass = new DFGPass(man);
pass->run();
pass->finish();
}
Event Timeline
Log In to Comment