Debian Codegraph @

tests/2397.c

raw
1 /// \file
2 /// \brief construct a graph using some escaped characters in a string
3
4 #include <graphviz/cgraph.h>
5 #include <stdio.h>
6
7 int main(void) {
8 Agraph_t *g;
9 g = agopen("testgraph", Agdirected, 0);
10 (void)agnode(g, "foo\\\"bar", 1);
11 agwrite(g, stdout);
12 return 0;
13 }