summaryrefslogtreecommitdiffstats
path: root/test/Analysis/objc-encode.m
blob: b2379e96d9db0cbf1400228aa92a856958fe5220 (plain)
1
2
3
4
5
6
7
8
9
// RUN: %clang_cc1 -analyze -analyzer-checker=debug.ExprInspection -verify %s
// expected-no-diagnostics

void clang_analyzer_eval(int);

// rdar://problem/34831581: Used to crash.
void foo(void) {
  char buf1[] = @encode(int **);
}