OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:const_field
(Results
1 - 1
of
1
) sorted by null
/external/clang/test/SemaCXX/
err_typecheck_assign_const.cpp
19
const int
const_field
= 1; // expected-note 2{{non-static data member '
const_field
' declared const here}}
member in class:test3
22
const_field
= 4; // expected-error{{cannot assign to non-static data member '
const_field
' with const-qualified type 'const int'}}
27
const_field
= 4 ; // expected-error{{cannot assign to non-static data member '
const_field
' with const-qualified type 'const int'}}
40
const int
const_field
= 4; // expected-note {{non-static data member '
const_field
' declared const here}}
member in struct:S5
46
s5.
const_field
= 5; // expected-error{{cannot assign to non-static data member '
const_field
' with const-qualified type 'const int'}
[
all
...]
Completed in 46 milliseconds