blob: 0434de5e102f56e986a1058def8f6e12811b5fb6 [file] [log] [blame]
David Blaikie0b7fad62014-12-08 21:48:57 +00001// RUN: %clang_cc1 -g -std=c++11 -S -emit-llvm %s -o - | FileCheck %s
2
3int src(); int* sink();
4
5void f1() {
6#line 100
7 * // The store for the assignment should be attributed to the start of the
8 // assignment expression here, regardless of the location of subexpressions.
9 (
10 sink
11 (
12 )
13 +
14 3
15 )
16 =
17 src
18 (
19 )
20 +
21 42
22 ;
23 // CHECK: store {{.*}}, !dbg [[DBG1:!.*]]
24}
25
26// CHECK: [[DBG1]] = metadata !{i32 100, {{.*}}