05ba8a3a07
git-svn-id: http://root.cern.ch/svn/root/trunk@45844 27541ba8-7e3a-0410-8455-c3a389f83636
21 lines
293 B
C
21 lines
293 B
C
// RUN: %cling %s | FileCheck %s
|
|
#include <cmath>
|
|
#include <stdio.h>
|
|
|
|
struct S{int i;};
|
|
S s = {12 };
|
|
|
|
typedef struct {int i;} T;
|
|
|
|
struct U{void f() const {};};
|
|
|
|
struct V{V(): v(12) {}; int v; };
|
|
|
|
int i = 12;
|
|
float f = sin(12);
|
|
int j = i;
|
|
|
|
void decls() {
|
|
printf("j=%d\n",j); // CHECK:j=12
|
|
}
|