view gcc/testsuite/gcc.dg/vmx/3b-14.c @ 145:1830386684a0

gcc-9.2.0
author anatofuz
date Thu, 13 Feb 2020 11:34:05 +0900
parents 04ced10e8804
children
line wrap: on
line source

#include "harness.h"

static vector bool char x(void);
static void g(void);

static vector bool char
f (void) 
{
  vector bool char a = x();
  g();
  return a;
}

static vector bool char
x (void)
{
  static vector bool char zero;
  return zero;
}

static void g ()
{
}

static void test()
{
  static vector bool char zero;
  check(vec_all_eq(f(), zero), "f");
}