[analyzer] Add a no-crash to a recently added test.
authorArtem Dergachev <artem.dergachev@gmail.com>
Mon, 23 Jul 2018 23:48:13 +0000 (23:48 +0000)
committerArtem Dergachev <artem.dergachev@gmail.com>
Mon, 23 Jul 2018 23:48:13 +0000 (23:48 +0000)
No functional change intended.

llvm-svn: 337776

clang/test/Analysis/casts.c

index 49db822..eccb678 100644 (file)
@@ -173,5 +173,5 @@ void testCastVoidPtrToIntPtrThroughUIntTypedAssignment() {
 }
 
 void testLocNonLocSymbolAssume(int a, int *b) {
-  if ((int)b < a) {}
+  if ((int)b < a) {} // no-crash
 }