diff options
Diffstat (limited to 'test/Analysis/ubigraph-viz.cpp')
-rw-r--r-- | test/Analysis/ubigraph-viz.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Analysis/ubigraph-viz.cpp b/test/Analysis/ubigraph-viz.cpp new file mode 100644 index 000000000000..0cb9bd6d8929 --- /dev/null +++ b/test/Analysis/ubigraph-viz.cpp @@ -0,0 +1,7 @@ +// RUN: %clang_cc1 -analyze -analyzer-checker=core,unix.API -analyzer-viz-egraph-ubigraph -verify %s +// expected-no-diagnostics + +int f(int x) { + return x < 0 ? 0 : 42; +} + |