summaryrefslogtreecommitdiff
path: root/test/CodeGen/cxx-value-init.cpp
blob: 6e4cc0388e928c5c971e7c6fdbcf78575f9e2f8a (plain)
1
2
3
4
5
6
7
8
9
10
11
// RUN: %clang_cc1 -emit-llvm %s -o %t

enum E {};
int v1 = E();
float v2 = float();

void f() {
  int v3 = int();
  _Complex int v4 = typeof(_Complex int)();
  _Complex float v5 = typeof(_Complex float)();
}