blob: 3c968e4a0e74950775c6133b916c2f7c01cbc3ca [file] [log] [blame]
//===-- main.c --------------------------------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
int string_not_empty (const char *s)
{
if (s && s[0])
return 1;
return 0;
}
int main (int argc, char const *argv[])
{
int (*callback)(const char *) = string_not_empty;
return callback(0);
}