summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/vmx/3b-14.c
blob: 02b2d901ebc6622d1087fdba78ab24b7b342b07a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#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");
}