Trying to pin-point a VACPP internal error.

[SVN r78398]
This commit is contained in:
Lorenzo Caminiti
2012-05-10 02:08:54 +00:00
parent ac81088068
commit d396a60501
2 changed files with 15 additions and 14 deletions

View File

@@ -18,9 +18,10 @@ struct s;
BOOST_TYPEOF_REGISTER_TYPE(s) // Register before binding `this_` below.
// Compile all local function declaration combinations.
/** @todo uncomment this */
struct s {
void f(double p = 1.23, double q = -1.23) {
{ // Only params.
/* { // Only params.
void BOOST_LOCAL_FUNCTION(int x, int y, default 0) {
} BOOST_LOCAL_FUNCTION_NAME(l)
l(1);
@@ -45,7 +46,7 @@ struct s {
return a;
} BOOST_LOCAL_FUNCTION_NAME(lt)
lt();
}
}*/
{ // Only plain binds.
int c, d;