view clang/test/Analysis/objc-encode.m @ 236:c4bab56944e8 llvm-original

LLVM 16
author kono
date Wed, 09 Nov 2022 17:45:10 +0900
parents 1d019706d866
children
line wrap: on
line source

// 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 **);
}