代码搜索:Assignment
找到约 8,196 项符合「Assignment」的源代码
代码结果 8,196
www.eeworm.com/read/440906/1777867
c lvalue3.c
// Bug: C++ semantics for assignment don't match the backend semantics for
// MODIFY_EXPR.
// Build don't link:
void
foo (int j)
{
(j = 1)++; // causes compiler segfault
}
www.eeworm.com/read/438925/1821192
js bugs.runtime.js
// test fix for bug where
// if (true)
// a = test2->()
// was compiling out the assignment
function test() {
var a;
if (true)
a = test2->();
trace(a);
}
function test2(coro) {
if (coro.
www.eeworm.com/read/366702/2865478
c wparentheses-4.c
// Test that -Wparentheses does not give bogus warnings in the
// presence of templates for non-plain assignment. Bug 17120.
// { dg-do compile }
// { dg-options "-Wparentheses" }
template
www.eeworm.com/read/366702/2867213
c aggr1.c
// Test that initializing an aggregate with complex copy constructor
// and assignment ops doesn't cause cp_expr_size to abort.
struct A
{
A();
A(const A&);
A& operator=(const A&);
};
struct B
www.eeworm.com/read/366702/2871838
c lvalue3.c
// { dg-do assemble }
// Bug: C++ semantics for assignment don't match the backend semantics for
// MODIFY_EXPR.
void
foo (int j)
{
(j = 1)++; // causes compiler segfault
}
www.eeworm.com/read/366702/2876203
f90 dependency_21.f90
! { dg-do run }
! Test the fix for PR31711 in which the dependency in the assignment
! at line 18 was detected and then ignored.
!
! Contributed by Tobias Ivarsson
!
program laplsol
www.eeworm.com/read/366702/2876414
f90 array_section_1.f90
! { dg-do run }
! { dg-options "-fbounds-check" }
! Tests the fix for PR30003, in which the 'end' of an array section
! would not be evaluated at all if it was on the lhs of an assignment
! or would b
www.eeworm.com/read/366702/2876460
f90 nesting_3.f90
! check to make the nested function dawsonseries_v gets the correct
! fake return decl and that the outer (dawson_v) has an assignment of
! just the fake return decl for real and not the inner's retur
www.eeworm.com/read/366702/2876871
f90 character_assign_1.f90
! { dg-do compile }
! Tests the fix for PR35702, which caused an ICE because the types in the assignment
! were not translated to be the same.
!
! Contributed by Dick Hendrickson
www.eeworm.com/read/366702/2876911
f90 nesting_2.f90
! check to make the nested function dawsonseries_v gets the correct
! fake return decl and that the outer (dawson_v) has an assignment of
! just the fake return decl for real and not the inner's retur